Centrify Identity Service, App EditionQuestion:
How can an Administrator correct an error in the Centrify Sync Reports that state, "Failed to sync <user> due to: Errors are detected while trying to restore the user. for tenant <tenant ID>
This error is caused when a user account on the O365 Portal is deleted/in the recycle bin. Trying to sync the user account (re-provision) results in the error.
To fix the issue, an Administrator will need to do the following;
1. Restore the user account in O365. While this can be attempted from the O365 user interface, it is recommended to use Azure Active Directory PowerShell:
$cred = get-credential
Note: When you're prompted, enter your Office 365 credentials.
Restore-MsolUser -UserPrincipalName <string> -AutoReconcileProxyConflicts -NewUserPrincipalName <string>
Note: <string> is the value for UserPrincipalName given for the user in the previous command
2. Check the Office 365 Portal to ensure the user account is now in Active Users.
3. In the Centrify Admin Portal, run a "Sync All Apps" for the affected user.
4. Verify that the user can login.
Note: For additional details, see the following Microsoft KB (provided as a courtesy):
For additional information not covered in this guide or troubleshooting assistance, please review Centrify Online Help or visit the Customer Support Portal at https://www.centrify.com/support/customer-support-portal.