Forum Discussion
Ryan Maxon
Aug 07, 2018Copper Contributor
Cannot delete mailbox
All-
I am having a major issue with Office 365 Exchange mailbox.
When using Get-Mailbox, it shows this particular account in the list; however, when you try to remove-mailbox and enter the identity, it comes back with User 'Not Found'. The account clearly shows under powershell as well as the Exchange admin portal.
3 Replies
- Gerardo D'AmicoIron Contributor
Hi Ryan,
Have you tried piping the remove-mailbox cmd after get-mailbox?
get-mailbox -identity username@domain.com | remove-mailbox
- Ryan MaxonCopper Contributor
And after multiple attempts by Microsoft "support" to fix this issue; this worked! Thank you.
- Gerardo D'AmicoIron Contributor
No worries, glad I could help :D