Issue:
A user synced from On Prem AD and appeared with a different email address (appended with 0399) in Office 365. Need to fix it.
Solution:
Number added to user names and email addresses when users are synced to Azure AD
- Install-Module MSOnline
- Import-Module MSOnline
- Connect-MsolService
- Remove-MsolUser -UserPrincipalName jamundson0399@aware.com -force
- login to portal.azure.com and access Azure Active Directory > Users > Deleted Users
- select the accounts in question and click the link Delete permanently
- open another power shell window and run Start-ADSyncSyncCycle -PolicyType Delta and refresh the Active Users in portal.office.com
Comments
0 comments
Please sign in to leave a comment.