Azure AD Connect

DineoM 1 Reputation point
2021-10-19T14:52:53.537+00:00

I am unable to disable the Azure AD connect even after deleting the VM.

Microsoft Security | Active Directory Federation Services
{count} votes

1 answer

Sort by: Most helpful
  1. Shashi Shailaj 7,641 Reputation points Microsoft Employee Moderator
    2021-10-19T17:12:00.347+00:00

    @DineoM ,
    In order to disable the sync for your tenant it is required to update the cloud side configuration for your azure AD instance as well . Just deleting the VM for Azure AD connect may not do the trick . You would need to follow the article Turn off directory synchronization for Microsoft 365 . The following powershell command needs to be run by logging in to Azure AD using Azure AD powershell module. You need to install the powershell module before you could run the following . Please follow the links in the article on how to install the powershell module for azure AD..

    Set-MsolDirSyncEnabled -EnableDirSync $false

    Once you have run the above command it can take upto 72 hours for the directory sync configuration to be updated on the Azure AD tenant side. if you have already run this cmdlet and 72 hours have elapsed then we will need to engage support team. Please let as know and we will help you further on this. You can check it by going to https://portal.azure.com > Azure Active Directory > Azure AD connect > sync status and it would show up on the portal as disabled once the process is complete after running the powershell cmdlet . You can see the following screenshot . I have highlighted the part sync status which should show as disabled once done.

    141780-image.png

    Hope this is helpful .

    Thank you.

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

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    0 comments No comments

Your answer

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