By using this site, you agree to the Privacy Policy.
Accept
EnterinITEnterinITEnterinIT
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Reading: How to Force Azure AD Connect Sync with PowerShell | Step-by-Step Guide
Font ResizerAa
EnterinITEnterinIT
Font ResizerAa
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
  • WINDOWS
  • SCCM Query Collection List
Search
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Azure

How to Force Azure AD Connect Sync with PowerShell | Step-by-Step Guide

Published February 18, 2024
1 Min Read
SHARE

How to Force Azure AD Connect Sync with PowerShell | Step-by-Step Guide Start PowerShell using any of these methods (or any other you may know of):

  • WinKey + R (Run Dialog): powershell.exe;
  • Click Start Menu type Powershell, and run it;
  • Right Mouse Button click on Start Menu and click on Windows PowerShell (Admin).

NOTE: If you’re running PowerShell on the server where Azure AD Connect is running, don’t run the command for remote server connection.

Run the command to connect to the remote server:

Enter-PSSession -ComputerName [SERVERNAME]

Import Azure AD Connect module.

Import-Module ADSync

Run the following command for synchronization.

For a Delta Sync:

Start-ADSyncSyncCycle -PolicyType Delta

For a Full Sync:

Start-ADSyncSyncCycle -PolicyType Initial

If you need Sync some changed attributes or a group membership – run Delta Sync.

Invoke-Command -ComputerName [ServerWithAzureADConnect] -ScriptBlock
{
Import-Module adsync
Start-ADSyncSyncCycle -PolicyType Delta
}
TAGGED:Active DirectoryAzure Active DirectoryMicrosoft AzurePowerShell
Previous Article Office Insider for Android Build 16.0.12130.20112 released
Next Article How to Install Apache on Ubuntu: Step-by-Step Guide
Leave a Comment Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Translation

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
by Transposh - translation plugin for wordpress

Popular Posts

System Requirements for Windows Server 2016
Windows Server
Configuration Manager Query Collection List
Configuration Manager Query Collection List
ConfigMgr
Structured/Managed Navigation enabled on Modern Pages in Classic Team Sites
Tech
SCCM Failed to get DP locations as the expected version from MP
ConfigMgr

Recent Posts

Installing and Configuring Fail2ban for SSH Protection on Ubuntu 24.04
Linux
Enabling and Configuring FirewallD on AlmaLinux
Linux
User Creation and SSH Key Setup in AlmaLinux
Linux
How to reset password on AlmaLinux
Linux

© 2023 EnterinIT

Go to mobile version
adbanner
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?