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 )
Anoop C Nair, This will remove the user. I need the user to be there in Office 365 and delete only mailbox.
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/