Forum Discussion
AtanasM
Apr 13, 2022Iron Contributor
Delete alias from synced user in Admin Center
I cannot edit or remove an alias with onmicrosoft.com domain in the cloud, because the user is synced with the local Active Directory. The alias is not available in “Attribute Editor” in Active Direc...
- Apr 20, 2022To disable dirsync:
Set-MsolDirSyncEnabled -EnableDirSync $false
Once it's disabled, remove the alias via the admin center or Powershell, then re-enable dirsync:
Set-MsolDirSyncEnabled -EnableDirSync $true
AtanasM
Apr 20, 2022Iron Contributor
Hi VasilMichev could you provide step by step guide, how to stop the sync, remove the alias from the cloud user and start the sync again?
Thanks in advance!
Thanks in advance!
VasilMichev
Apr 20, 2022MVP
To disable dirsync:
Set-MsolDirSyncEnabled -EnableDirSync $false
Once it's disabled, remove the alias via the admin center or Powershell, then re-enable dirsync:
Set-MsolDirSyncEnabled -EnableDirSync $true
Set-MsolDirSyncEnabled -EnableDirSync $false
Once it's disabled, remove the alias via the admin center or Powershell, then re-enable dirsync:
Set-MsolDirSyncEnabled -EnableDirSync $true