Forum Discussion

AtanasM's avatar
AtanasM
Iron Contributor
Apr 13, 2022
Solved

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...
  • VasilMichev's avatar
    VasilMichev
    Apr 20, 2022
    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

Resources