How to Add UPN Suffixes and update your users
How to Add UPN Suffixes and update your users
Synchronized with user principal names (UPN) for Office 365 synchronization on the active directory.
If you are currently using a domain name.local domain for user accounts in Active Directory, it is recommended that you use them as a verified domain (johnd@company.com) for proper synchronization with your Office 365 domain. This video is described in detail on step by step. You can define all users on Active Directory via powershell.
Powershell command
$ LocalUsers = Get-ADUser -Filter -Properties userPrincipalName -ResultSetSize $ null
$ LocalUsers | foreach
it’s not working for me on 2012R2. Could you please verify whether it works only in 2016 or are there any changes in 2012R2