I need to delete an old on prem azure ad connect but have lost all access to the server (i was new and testing)

Thomas L'Hotellier 0 Reputation points


I was only new to IT and tested aad connect a year ago ... I lost all access to that server which i deleted not thinking aad connect would still be running... i need a slap on the wrist for this one...

I have managed to use a powershell command to manually stop the sync but i still have the sso config showing it is still connected to the old test domain...

Since this is going on I am not able to add a new azure ad connect sync from my new on-prem server.

Would appreciate the help if anyone can help :)

Thanks in advance



See below for more details

User's image

User's image

User's image

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
17,499 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Carlos Solís Salazar 14,706 Reputation points

    If you want to Turn off directory synchronization for Microsoft 365 you must execute this command:

    Set-MsolDirSyncEnabled -EnableDirSync $false

    If you want to reactivate the credential synchronization between your local AD and your Microsoft Entra ID, you must reinstall the Azure AD Connect.

    If you still have errors, please share the error log output.

    Hope this helps!

    0 comments No comments