Using Exchange 2013 (on Windows 2012) and Office 2013 (on Windows 7). All fully patched and up-to-date.
As domain administrator I sometimes have to check a domain users emails and to do this I usually add their account to my account within Outlook >> File / Info / Account Settings / Account Settings / Change / More Settings / Advanced / Add and then search for their account which I already have access to at system level. This works well.
When I’ve finished my work I Remove them using the same method.
Today I’ve noticed I still have two user’s accounts open in my folder bar and full normal access yet these users are not listed in my Account Settings so I cannot remove them. If I try to close them directly (by right-clicking on the parent folder and choosing Close) I get the message:
“This group of folders is associated with an email account. To remove the account, click the File Tab, and on the Info tab, click Account Settings. Select the e-mail account, and then click Remove.”
…which despite having a few clicks missing is what I was already trying to do.
Open the Exchange Management Shell paste the following powershell commands
Add-MailboxPermission -Identity <shared mailbox alias> -User <your mailbox alias> -AccessRights FullAccess -InheritanceType All -Automapping $false