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
2023-10-27T10:30:01.14+00:00

Hi

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

regards

Thomas

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.
22,065 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Carlos Solís Salazar 17,971 Reputation points
    2023-10-27T12:47:23.1166667+00:00

    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.