Creating a new user template - SMTP primary address incorrect in Exchange online

Creating a new user template - SMTP primary address incorrect in Exchange online

I've setup a new user template which appears to be working well other than the fact that the wrong SMTP address is assigned to the user when I check Exchange Online. The template issues an E3 license and the mailbox is created, but the with an incorrect SMTP mail address.

Where should the primary SMTP address be set in the template and are there any custom attributes required?

We ARE NOT running in a hybrid environment.

                New to ADSelfService Plus?