We have some migrated sharedmailboxes on a exchange online mailserver. When users get access to one of these mailboxes via mailbox delegation setup, these mailboxes do not appear automatically in their outlook.
I know there is a powershell script for enabling automapping for a single user for a mailbox.
Get-Mailbox "SharedMailbox" | Add-MailboxPermission -User UserXYZ -AccessRights FullAccess -AutoMapping:$TRUE
But is there a script or a setting, to enable automapping as a default for a mailbox? So that all users, also new user that get access to the mailbox, will automatically get it displayed in their outlook?