Remove a Mailbox.

Sanjay Bhakuni - admin 145 Reputation points
2024-05-05T10:32:36.4266667+00:00

License is removed from a user , but still showing as a user mailbox in EAC. What need to do to remove this mailbox.

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,630 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 109.7K Reputation points MVP
    2024-05-05T13:56:26.0833333+00:00

    The mailbox is likely under hold/retention policy, thus cannot be removed until you release the hold. Or similarly, there is another provisioning error you need to address. If using the good old MSOnline module, review the error via

    Get-MsolUser -HasErrorsOnly
    

    If using Graph, use the method outlined here: https://www.michev.info/blog/post/5602/reporting-on-user-provisioning-errors-via-the-graph-api


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.