Force AD Connect to sync with powershell

Hi all,

To force a syncronization of all identities with powershell use the below command:

  1. Open PowerShell with elevated rights.
  2. Execute Import-module ADSync.
  3. Execute Start-ADSyncSyncCycle –PolicyType Delta
  4. Check thru MIIS console it’s syncing.

Regards!

Anuncios

Upgrading AD Connect to v1.1.443.0

Hi all!

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

adconnect01

Will apear the wizard where you need to accept EULA. Push on Continue.

adconnect02

Wizard will notify you that you will upgrade AD Connect. Push on upgrade button.

adconnect03

On the Connect to Azure AD step insert a Global Admin user an push on Next.

adconnect04

On the Connect to AD DS section indicate a Domain Admin and push Next.

adconnect05

Once on the Configure Step select Start the sync process when configuration completes and push Upgrade.

adconnect06

A few minutes the upgrade will finish. Push Exit.

adconnect07

Regards!

How to solve MigrationInvalidTargetAddressException error

Hi!

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 user@domain.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:

extensionAttribute1
legacyExchangeDN
mailNickname
msExchMailboxGuid
msExchRecipientDisplayType
msExchRecipientTypeDetails
proxyAddresses 

Once done, the problem disappeared automatically.

Here you can see all attributes that Exchange Online need from users, contacts and groups.

https://azure.microsoft.com/en-us/documentation/articles/active-directory-aadconnectsync-attributes-synchronized/

Regards!