Forum Discussion
omi kumari
Nov 07, 2022Brass Contributor
How to view calendar availability within organization
Hello, How to view calendar availability within organization for everyone. I want to enable the calendar agenda visibilty for everyone within the organisation? How could that be done? I tried with ...
VasilMichev
Nov 07, 2022MVP
You can update the permission on the Default security principal, which includes every other user within the organization (so you don't have to add them one by one):
$calendars = Get-Mailbox -RecipientTypeDetails UserMailbox | Get-MailboxFolderStatistics | ? {$_.FolderType -eq "Calendar"} | select @{n="Identity"; e={$_.Identity.Replace("\",":\")}}
$calendars | % {Set-MailboxFolderPermission -Identity $_.Identity -User Default -AccessRights AvailabilityOnly}
Replace with "LimitedDetails" for the AccessRights parameter value if you want to display all the metadata.
$calendars = Get-Mailbox -RecipientTypeDetails UserMailbox | Get-MailboxFolderStatistics | ? {$_.FolderType -eq "Calendar"} | select @{n="Identity"; e={$_.Identity.Replace("\",":\")}}
$calendars | % {Set-MailboxFolderPermission -Identity $_.Identity -User Default -AccessRights AvailabilityOnly}
Replace with "LimitedDetails" for the AccessRights parameter value if you want to display all the metadata.