Category Archives: Dirsync

ADSync error – OnlineIdentityException–0x8023134a–Last name was changed

I recently dealt with an issue with Office 365 and the "Directory Synchronization service manager" where two of the users who had been previously syncing to Office 365 with no problems started to receive the error "OnlineIdentityException "

The Error Description was:

"The cause of the error is not clear. This operation will be retried during the next synchronization. If the issue persists, contact Technical Support.

Tracking Id: 8a1fee60-18d9-4a4c-83d2-b17fbc074b20
ExtraErrorDetails:

image

After looking at all the old and new Attribute of the users under :Pending export" I notice that the last name was changed

image

This environment  is  Exchange online environment -  where all mailboxes are in the cloud.

I removed the old user Using "Windows Azure Active Directory Module for Windows PowerShell":

 

1. Connect to Office 365 via Powershell

2. Download and Install the "Windows Azure Active Directory Module for Windows Powershell" (available here)

3. Run the following commands (make sure you have the credentials for a global administrator for the Office 365 subscription)

Import-Module MSOnline

Connect-MsolService

get-msoluser -UserPrincipalName   "Useroldlastname@domain.com" |Remove-MsolUser

Check that the user is deleted from the cloud

get-msoluser -UserPrincipalName   "Useroldlastname@domain.com"

run the export stage again from the "Synchronization service manager"   and the problem was solved!

image

image

 

* Please notice – The Remove-MsolUser command is used to remove a user from the  cloud This command will delete the user, their licenses, and any other associated data. 

Enjoy סמיילי

Azure AD Connect: In place Upgrade Windows Azure Active Directory sync (DirSync)


clip_image002

Azure AD Connect: In place Upgrade Windows Azure Active Directory sync (DirSync)

*"In-place upgrade" is only relevant if the DB contains less than 50000 objects

Azure AD Connect will analyze your current DirSync settings and recommend an in-place upgrade if the number of objects in your database is less than 50,000

Download Azure AD connect

In-place upgrade Wizard

1. Launch the Azure AD Connect installer (MSI), Review and agree to license terms and privacy notice.

image

3. Click next to begin analysis of your existing DirSync installation.

image

4. When the analysis completes, we will make recommendations on how to proceed.

 clip_image008

  • If you u use SQL Server Express and have less than 50,000 objects, the following screen is shown:

 clip_image010

  • If you use a full SQL Server for DirSync you will see this page instead

The information regarding the existing SQL Server database server being used by DirSync is displayed. Make appropriate adjustments if needed. Click Next to continue the installation

  • If you have more than 50,000 objects, you will see this screen instead:
    To proceed with an in-place upgrade, click the checkbox next to this message: Continue upgrading DirSync on this computer. To do a parallel deployment instead you will export the DirSync configuration settings and move those to the new server.

clip_image012

 
   

5. Provide the password for the account you currently use to connect to Azure AD. This must be the account currently used by DirSync.

 
  clip_image014

If you receive an error and have problems with connectivity, please see Troubleshoot connectivity problems.

6. Provide an enterprise admin account for Active Directory.

 

clip_image016

 

7. You’re now ready to configure. When you click Upgrade, DirSync will be uninstalled and Azure AD Connect will be configured and begin synchronizing.

 

clip_image018

 

8. After the installation has completed, sign out and sign in again to Windows before you use Synchronization Service Manager, Synchronization Rule Editor, or try to make any other configuration changes.

Customize Azure AD Connect sync

After your initial installation of Azure AD Connect, you can always start the wizard again from the Azure AD Connect start page or desktop shortcut. You will notice that going through the wizard again provides some new options in the form of Additional tasks.

The following table provides a summary of these tasks and a brief description on each of them.

Join Ruleimage