Error 0x80131501. Unexpected error in the directory is encountered when migrating an AD user account to o365
1) Export the source AD user attributes using Powershell command:
get-aduser 'username' -properties * | export-csv c:\your.csv
2) Export the corresponding account details from o365 by finding the account in Active Users and using the Export function (pictured below)
3) Compare and remove good values that have synced across successfully. For the remaining values that have not synced to o365 identify fields where they may be odd characters, misformed date fields etc, Removal / correction of these corresponding values from the source AD account should correct the "Error 0x80131501. Unexpected error in the directory when migrating an AD user account to o365" and allow the sync to succeed.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center