Office 365 - How to use Exchange Online PowerShell to grant delegates permissions to view private items in a shared mailbox using Outlook
Messages with the sensitivity tag set to private can't be viewed in shared mailboxes unless you grant delegates permissions to ViewPrivateItems
Connect-ExchangeOnline -UserPrincipalName adminuser@yourdomain.com
You have to give Full Access to the shared mailbox so it appears in Outlook
Add-MailboxPermission -Identity sharedmailbox@yourdomain.com -User user@yourdomain.com -AccessRights FullAccess
Use Add-MailboxFolderPermission to add a new delegate to the shared mailbox and Set-MailboxFolderPermission to change permissions for an existing delegate
Add-MailboxFolderPermission -Identity sharedmailbox@yourdomain.com:\Calendar -User user@yourdomain.com -AccessRights Editor -SharingPermissionFlags Delegate,CanViewPrivateItems
Set-MailboxFolderPermission -Identity sharedmailbox@yourdomain.com:\Calendar -User user@yourdomain.com -AccessRights Editor -SharingPermissionFlags Delegate,CanViewPrivateItems
Get-MailboxFolderPermission -Identity sharedmailbox@yourdomain.com:\Calendar -User user@yourdomain.com
Remove-MailboxFolderPermission -Identity sharedmailbox@yourdomain.com:\Calendar -User user@yourdomain.com
File - Account Settings - Delegate Access
Reference:
by Author
Private items aren't displayed in a shared mailbox in Outlook
https://learn.microsoft.com/en-us/exchange/troubleshoot/user-and-shared-mailboxes/private-items-not-display
Comments