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 Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,114 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,844 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,454 questions
{count} votes

2 answers

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

  2. Sandeep G-MSFT 14,326 Reputation points Microsoft Employee
    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