Forum Discussion
Deleting a Room Resource
- Dec 14, 2017
Hi,
I had the same problem, but was able to resolve the issue by removing the "user" email account associated with the conference room. Afterwards, the conference room resources were automatically deleted. Some credit goes to Galib Anwar as well, as their idea pointed me in this direction.
Hi,
I had the same problem, but was able to resolve the issue by removing the "user" email account associated with the conference room. Afterwards, the conference room resources were automatically deleted. Some credit goes to Galib Anwar as well, as their idea pointed me in this direction.
Hi Jim. In the meantime I solved the problem with Microsoft Support.
And yes, the work-around consists in the deletion of the original Msoluser associated to mailbox. I translate this into PowerShell snippet:
Remove-MsolUser -UserPrincipalName "sharedmailbox@contoso.com"
Wait about a minute, then search for the deleted mailbox:
Get-Mailbox -SoftDeletedMailbox
If You want to remove the mailbox from the recycle bin, You can grep the ExternalDirectoryObjectId associated to deleted mailbox:
Get-Mailbox -SoftDeletedMailbox | where {$_.Name -like "Shared Mailbox Name"} | ft ExternalDirectoryObjectId
Get-MsolUser -ReturnDeletedUsers -objectid "Insert here the ExternalDirectoryObjectId of the Shared Mailbox" | Remove-Msoluser -RemoveFromRecycleBin -Force
You can anyway restore the mailbox for the next 30 days following this TechNet document: https://technet.microsoft.com/library/dn186233(v=exchg.150).aspx
That's all folks! :-)
Ciao!