Share via

Remove a Mailbox.

Sanjay Bhakuni - admin 155 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.

Exchange Online
Exchange Online

A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.


1 answer

Sort by: Most helpful
  1. Vasil Michev 127K Reputation points MVP Volunteer Moderator
    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

    Was this answer helpful?


Your answer

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