Unable to delete Synced user form AAD

Prajith Karumathil 41 Reputation points
2020-02-03T09:56:59.73+00:00

I haved removed ADconnect Server from Azure , but missed to delete AzureAdconnect related user account from AAD. Now when I try to remove I get Delete User Failed Error (PF). Please let me know ho do I delete this.2514-error1.jpg

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,100 questions
0 comments No comments
{count} votes

Accepted answer
  1. AmanpreetSingh-MSFT 56,441 Reputation points
    2020-02-03T10:51:00.757+00:00

    @Prajith Karumathil You need to disable Directory Synchronization for the tenant. Use below PowerShell cmdlets for this purpose:

    1. Run Install-Module MSOnline. (If the module is not already installed).
    2. Run Connect-MsolService and login via Global Admin account of your tenant.
    3. Run Set-MsolDirSyncEnabled -EnableDirSync $false to disable Directory Synchronization.

    Once it is disabled, you should be able to delete the synced accounts.

    -----------------------------------------------------------------------------------------------------------

    Please "Accept as answer" wherever the information provided helps you to help others in the community.


0 additional answers

Sort by: Most helpful