My user has a mailbox both on-premises and in Exchange Online- How to delete Mailbox in exchange online

Question

My user has a mailbox both on-premises and in Exchange Online- How to delete Mailbox in exchange online?

I removed license from Exchange online and tried to remove mailbox using PowerShell, but no luck.

Answers ( 2 )

    0
    2020-10-15T10:18:42+05:30

    Anoop C Nair, This will remove the user. I need the user to be there in Office 365 and delete only mailbox.

    Best answer
  1. To be honest … I don’t have much clue about this

    But you can try in a testing environment

    Remove-MsolUser -UserPrincipalName -RemoveFromRecycleBin

    More details https://www.nucleustechnologies.com/blog/delete-user-mailboxes-in-exchange-online/

Leave an answer

Sorry, you do not have permission to answer to this question .