Force directory synchronization using Windows PowerShell
You can use the directory synchronization Windows PowerShell cmdlet to force synchronization. The cmdlet is installed when you install the Directory Sync tool.
1. Log onto the server where the directory Sync tool is installed, start powershell as an Administrator
Create a Remote Powershell session to that server:
Enter-PSSession -ComputerName <DirSyncServer>
2. To force sync enter:
Start-ADSyncSyncCycle -PolicyType Delta
Verify directory synchronization after forced synchronization
1. Ensure that there is a valid email address for your organization’s designated cloud service technical contact.
2. Sign in to the cloud service with service administrator credentials.
3. Verify the additional properties of a specific user account (such as Job title, Department, or Street address) that will be synchronized from your local Active Directory to Windows Azure AD.
4. Verify that you cannot edit the additional properties of that user account in Windows Azure AD.
5. Log on to your local Active Directory with the permissions needed to edit user accounts, contacts, and distribution groups.
6. In your local Active Directory, make a simple but obvious change to one of the additional properties of the specific user account.
7. Open the Windows Azure Active Directory Sync tool Configuration Wizard.
- Provide the information requested on the wizard pages.
- On the Finished page, select Synchronize your directories now, and then click Finish.
8. When directory synchronization is complete, view the additional properties of the user in Windows Azure AD, and verify that the change you made to the additional properties of the specific user account in your local Active Directory have been synchronized to Windows Azure AD.
Verify directory synchronization after automatic synchronization
- Sign in to the cloud service with service administrator credentials.
- When directory synchronization is complete, verify that the changes you made in your local Active Directory now appear in the cloud.