Hi,
Perhaps I did not make the scenario clear. I have altered all identifiers unique to our company/user but altered nothing else. This is the full scenario from the beginning.
1 User "aUser" originally had full access to a shared mailbox called "aisInfo"
2 I removed all access for that user using the web
3 Performing the query shows no association between user aUser and mailbox aisInfo
Get-MailboxPermission aisinfo | where { ($_.IsInherited -eq $false) -and -not ($_.User -like "NT AUTHORITY\SELF")}
4 The mailbox remains on the users list of Mailboxes in the left hand column of Outlook.
5 The user cannot access any content of the mailbox. Attempting to expand the mailbox results in an dialogue "Cannot expand the folder"
6 Attempts to manually remove the mailbox in Outlook result in the error dialogue I indicated in the original mail
Executing the command "svr sir" suggested results in the following warning
WARNING: Can't remove the access control entry on the object "CN=msm - AIS Info,OU=ourCo.onmicrosoft.com, OU=Microsoft Exchange Hosted
Organizations,DC=EURPR03A1234, DC=prod,DC=outlook,DC=com" for account "EURPR03A1234\aUser57740155342468" because the ACE doesn't exist on the object.
I take this to be a validation that the access to the mailbox has already been removed.
Cheers,
Daryl