What are some Command Prompt or PowerShell command to check if my Azure AD and On-premises really fully synchronized?

TechQ 236 Reputation points
2023-03-27T22:37:06.9033333+00:00

Recently, I used AD Connect to synchronized Azure AD and On-premise together, but I am not sure if they really together fully. I did notice that my on premise users are in the Azure AD, but I still wanna see if everything is fully sync using command line. What are some line to check it out make sure there are no error?

Windows for business Windows Client for IT Pros Directory services Active Directory
Microsoft Security Microsoft Entra Microsoft Entra ID
Windows for business Windows Server User experience Other
{count} votes

2 answers

Sort by: Most helpful
  1. Andy David - MVP 157.4K Reputation points MVP Volunteer Moderator
    2023-03-28T00:15:29.0766667+00:00
    0 comments No comments

  2. Sandeep G-MSFT 20,906 Reputation points Microsoft Employee Moderator
    2023-03-28T12:05:42.7766667+00:00

    @TechQ

    Thank you for posting your question in Microsoft Q&A platform.

    There are couple of different ways using which you can confirm if the sync is running without any errors.

    You can also refer to below article to understand what kind of alerts are sent by health agent,

    https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/active-directory/hybrid/how-to-connect-health-alert-catalog.md#alerts-for-azure-ad-connect-sync

    Let me know if you have any further questions.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    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.