Re-Creating a synced account from AD to 365 not allowing email to be setup correctly.

Jason Franklin 0 Reputation points
2025-04-24T20:09:24.3533333+00:00

I created a user in local AD and synced it to 365. I assigned a license but it never finished creating the mail account. I deleted the AD user, synced it to 365, and then permanently deleted the user in Entra. I then tried to re-create the AD account, synced it to 365. When I add a license to the re-created account that is synced, I am getting the error: Exchange: An unknown error has occurred. Refer to correlation ID: dfbda13e-ebf5-4b8f-9a24-3d14e0c51eb7. When I assign a license for 365, the email address assigned is the account identifier instead of the typical username. It's like a ghost in the system, and I don't know where else I need to delete the old account/alias from to make this work. Any help would be appreciated.

Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
2,294 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Hien-L 4,340 Reputation points Microsoft External Staff Moderator
    2025-04-25T08:07:48.27+00:00

    Hi Jason Franklin,

    Thank you for posting your question in the Microsoft Q&A forum.

    Do you create the new AD account with the same name? What about create a new account with different name?

    Noticed that you have permanently deleted the user in Entra, please also confirm that this account does not exist in Deleted users from Admin center and AAD side.

    User's image

    User's image

    Since you tried to assign license to the old account to enable mailbox, please use the following command to check if any soft deleted mailbox still remains for the old account in Exchange Online:

    Get-Mailbox -SoftDeletedMailbox | fl ExchangeGuid,Guid,PrimarySmtpAddress

    Then use the following command to delete is permanently:

    Remove-Mailbox -Identity Exchange_Guid -PermanentlyDelete -Confirm:$False

     

    You can check this article for more details: How to purge mailboxes in Exchange Online - Microsoft Community

    If suggestions above still cannot resolve your issues, you also can raise an O365 support ticket from Admin center to see if we can get help to check and resolve from O365 backend server side.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.