How to get user ID by using exchangeguid? Exchange account issue.

IT tech- tech 30 Reputation points
2024-05-10T08:58:16.93+00:00

Hi all,

I have encountered an error in the Active Users tab from the Admin Microsoft portal:

Exchange: An unknown error has occurred. Refer to correlation ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.;

I have found the root cause which is as follows:

The value "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx" of property "ExchangeGuid" is used by another recipient object. Please specify a unique value.

What command I should use in order to obtain that other recipient object, most preferably its UPN or SAM account name? Where I should execute it, in the ExchangeOnline module via PowerShell or ExchangePowerShell in the on-premises Exchange server?

I am in hybrid environment with Azure and with on-premises server.

Best regards and thanks!

Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
1,981 questions
0 comments No comments
{count} votes

Accepted answer
  1. akinbade abiola 7,515 Reputation points
    2024-05-10T10:26:15.15+00:00

    Hello IT tech- tech

    Thanks for your question.

    This error is caused when Exchange attributes changes from on-premises are not being replicated into Exchange Online. This can be caused by an active user but most times is usually a soft deleted mailbox or soft-deleted mail user. Once you found this object, you will have to purge it from EXO directory, so your affected user can be provisioned properly.

    I will recommend this:

    1. You can get the soft-deleted users using: Get-Recipient -IncludeSoftDeletedRecipients 'ExchangeGUID value'|ft RecipientType,PrimarySmtpAddress,WhenSoftDeleted
    2. If you find the affected user, I will like you to go on-premises and find the ms-exch-guid-attribute at on-prem for the user account to null and sync
    3. This should resolve your issue.
    4. Alternatively you can try the steps here in part 2 if the above doesnt work: https://video2.skills-academy.com/en-us/archive/blogs/exovoice/how-to-fix-office365-user-provisioning-issues-that-are-generated-by-faulty-exchange-attributes#part-2-fixing-provisioning-errors-related-to-archiveguid-exchangeguid-being-used-by-another-recipient-1

    **

    Please let me know if you have further questions**

    You can mark it 'Accept Answer' if this helped.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful