Forum Discussion
AT123123670
Nov 17, 2022Copper Contributor
Allow staff to view all details on all calendars
Hello all, Is there an easy way I can give all staff the "Can view all details" permission on all staff calendars? Secondly, is there a way this can be set as default for new starters? T...
VasilMichev
Nov 18, 2022MVP
Define easy? 🙂 This PowerShell snippet does it:
$calendars = Get-Mailbox -RecipientTypeDetails UserMailbox | Get-MailboxFolderStatistics | ? {$_.FolderType -eq "Calendar"} | select @{n="Identity"; e={$_.Identity.Replace("\",":\")}}
$calendars | % {Set-MailboxFolderPermission -Identity $_.Identity -User Default -AccessRights LimitedDetails}
There's no way to pre-set this for new mailboxes, you will have to run the Set-MailboxFolderPermission against them as needed.
$calendars = Get-Mailbox -RecipientTypeDetails UserMailbox | Get-MailboxFolderStatistics | ? {$_.FolderType -eq "Calendar"} | select @{n="Identity"; e={$_.Identity.Replace("\",":\")}}
$calendars | % {Set-MailboxFolderPermission -Identity $_.Identity -User Default -AccessRights LimitedDetails}
There's no way to pre-set this for new mailboxes, you will have to run the Set-MailboxFolderPermission against them as needed.
CSWandahlLiper
Apr 21, 2023Copper Contributor
VasilMichev I'm pretty sure the "limitedDetails" is NOT what corresponds to "View all details" in Outlook the OP asked (and why I'm here).
It's quite confusing that using Outlook is not the same as setting it in Exchange 😞