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.
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.
@SouthClimber-0653 You need to disable Directory Synchronization for the tenant. Use below PowerShell cmdlets for this purpose:
Run Install-Module MSOnline
. (If the module is not already installed).
Run Connect-MsolService
and login via Global Admin account of your tenant.
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.
11 people are following this question.