Manually Azure AD connect

HASSAN BIN NASIR DAR 391 Reputation points
2022-11-20T09:53:13.853+00:00

Hi

I am using AAD connect for synchronization. Every 30 min it is syncing. I want to do urgent syncing for some reasons. Can I do it forcefully manually syncing by powershell? If yes, please share the commands. thanks

Please help me as soon as possible

Regards

Microsoft Security Microsoft Entra Microsoft Entra ID
{count} votes

2 answers

Sort by: Most helpful
  1. Michael Durkan 12,236 Reputation points MVP
    2022-11-20T10:01:14.62+00:00

    Hi

    here you go:

    https://techcommunity.microsoft.com/t5/itops-talk-blog/powershell-basics-how-to-force-azuread-connect-to-sync/ba-p/887043

    Hope this helps,

    Thanks

    Michael Durkan

    • If the reply was helpful please upvote and/or accept as answer as this helps others in the community with similar questions. Thanks!
    0 comments No comments

  2. Sandeep G-MSFT 20,906 Reputation points Microsoft Employee Moderator
    2022-11-21T03:19:15.387+00:00

    @HASSAN BIN NASIR DAR

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

    Yes, you can initiate a sync manually using PowerShell.
    You can open Windows PowerShell as administrator on the AD connect server.
    Run command "Start-ADSyncSyncCycle -PolicyType Delta" if you want to run delta sync.
    Run command "Start-ADSyncSyncCycle -PolicyType Initial" if you want to run full sync.

    If you get an error stating above command sets are not available, then you can run command "Import-Module ADSync" to load the modult.

    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.