Forum Discussion
ArjanBroekhuizen
Aug 08, 2024Iron Contributor
Mailbox not removed from Outlook after delegation is removed
Hi all, I have somewhat strange issue with Outlook. An user had access to a shared mailbox via the delegation in Exchange. With auto-mapping the mailbox was visible/accessible in Outlook. Now t...
- Aug 08, 2024Hi
The reason the mailbox is still visible in Outlook is due to auto-mapping. When a user is granted access to a shared mailbox, Outlook receives extra information in the Autodiscover response that tells it to open the additional mailbox. Even after removing the delegation, the mailbox remains in Outlook until the Autodiscover response is updated.
To remove the mailbox from Outlook, you need to remove the mailbox permission and then re-add the permission with the -AutoMapping parameter set to $false. This will update the Autodiscover response and remove the mailbox from Outlook.'
Try using PowerShell commands
there may be a delay before the change takes effect, as Outlook needs to receive the updated Autodiscover response.
Thanks
Ankit
Aug 08, 2024Brass Contributor
Hi
The reason the mailbox is still visible in Outlook is due to auto-mapping. When a user is granted access to a shared mailbox, Outlook receives extra information in the Autodiscover response that tells it to open the additional mailbox. Even after removing the delegation, the mailbox remains in Outlook until the Autodiscover response is updated.
To remove the mailbox from Outlook, you need to remove the mailbox permission and then re-add the permission with the -AutoMapping parameter set to $false. This will update the Autodiscover response and remove the mailbox from Outlook.'
Try using PowerShell commands
there may be a delay before the change takes effect, as Outlook needs to receive the updated Autodiscover response.
Thanks
The reason the mailbox is still visible in Outlook is due to auto-mapping. When a user is granted access to a shared mailbox, Outlook receives extra information in the Autodiscover response that tells it to open the additional mailbox. Even after removing the delegation, the mailbox remains in Outlook until the Autodiscover response is updated.
To remove the mailbox from Outlook, you need to remove the mailbox permission and then re-add the permission with the -AutoMapping parameter set to $false. This will update the Autodiscover response and remove the mailbox from Outlook.'
Try using PowerShell commands
there may be a delay before the change takes effect, as Outlook needs to receive the updated Autodiscover response.
Thanks
- ArjanBroekhuizenAug 09, 2024Iron ContributorHi otx_ti295,
Thanks for your reply!
So, even when we remove the delegation in the Exchange Admin Center, the mapping could be remaining present in Outlook? Is this a flaw in Autodiscover? Most of the times the mailbox-mapping is removed when we remove the delegation in the Exchange Admin Center.
I ran the Add-MailboxPermission Powershell-command with the AutoMapping parameter '$false', as you suggested. Now I will give Outlook/Autodiscover give some time to update. After that the access is removed again with the Remove-MailboxPermission command.
Somewhere next week I will let you know the results.
Kind regards,
Arjan- ArjanBroekhuizenAug 13, 2024Iron ContributorHi Ankit,
The user gave me an update about this issue. The mailboxes now removed from Outlook!
Thanks for your help
Kind regards,
Arjan