Forum Discussion
Marvin Oco
Aug 10, 2017Steel Contributor
UPN and default email
we synched users via aad connect to office 365
upn si user@contoso.com
synched user in o365 is user@contoso.com
assigned license to user but the default email is user@contoso.onmicrosoft.com
how to change to user@contoso.com?
we want to make user@contoso.com as default mail upon synching, how?
thanks
- Nathan McClintockCopper ContributorSet-MsolUserPrincipalName -UserPrincipalName first.last@yourdomain.onmicrosoft.com -NewUserPrincipalName first.last@yourdomain.com
- You could do this by PowerShell
- Aljohn BonifacioSteel Contributor
Hi Marvin, to use your own custom domain you may add it in your Active Directory under Active Directory Domains and Trusts and make sure that when you're creating a User in Active Directory, you select your own custom domain. Also, please check if your own custom domain is configured and verified in Azure AD.
- Daniel KharmanBrass Contributor
Hi Marvin,
The UPN field doen't synchronise to email address, so it's creating the default SMTP. You'll need to set the Primary SMTP Address on-premises, then synchronise the objects across.
Add 'SMTP: User@contoso.com' to the 'ProxyAddress' attribute in Active Directory.
-dk