To force a syncronization of all identities with powershell use the below command:
- Open PowerShell with elevated rights.
- Execute Import-module ADSync.
- Execute Start-ADSyncSyncCycle –PolicyType Delta
- Check thru MIIS console it’s syncing.
If you want to upgrade AD Connect v1.1.380.0 to the latest version (1.1.443.0) follow the below steps:
Open Azure AD Connect
Will apear the wizard where you need to accept EULA. Push on Continue.
Wizard will notify you that you will upgrade AD Connect. Push on upgrade button.
On the Connect to Azure AD step insert a Global Admin user an push on Next.
On the Connect to AD DS section indicate a Domain Admin and push Next.
Once on the Configure Step select Start the sync process when configuration completes and push Upgrade.
A few minutes the upgrade will finish. Push Exit.
A few days ago, someone deleted users in Azure with the following comand:
Get-MsolUser -UserPrincipalName SEPR0002@domain.com | remove-msoluser
Automatically, AD Connect has started to say that an object is phantom.
The problem has been fixed automatically 24 hours after.
I’m involved in a Staged Migration project from Exchange 2007 Sp3 to O365 and I found various problems uploading identites to O365.
My Scenario is:
Forest A with FFL and DFL 2003 with Resources Subdomain with Exchange 2007 SP3 and Users Subdomain where are all user accounts.
Forest B with FFL and DFL 2008 R2 where have a syncro of all users from Subdomain on Forest A.
After I configuring AD Connect and execute users syncronization to Office 365 I saw the following error:
Error: MigrationInvalidTargetAddressException: A valid primary email address email@example.com couldn’t be found on the target.
My problem was that not all user attributes were syncronized from Users subdomain in Forest A to Forest B.
Cheking all attributes I found that I needed the following attributes to syncro from Forest A to Forest B:
Once done, the problem disappeared automatically.
Here you can see all attributes that Exchange Online need from users, contacts and groups.