Forum Discussion
HarryFromTheFuture
Feb 28, 2022Copper Contributor
Exchange shared calendar
Hi All, We are currently in the process of migrating our calendar and some other bits and bobs to Microsoft. I'm trying to create a test account which can see all users calendar but doesn't have...
VasilMichev
Feb 28, 2022MVP
Depends on how exactly you plan to use it. For programmatic access, EWS or Graph API based solution would do. If you need to access each calendar via Outlook, add folder-level permissions on each calendar for said account. Something like this:
$calendars = Get-Mailbox -RecipientTypeDetails UserMailbox | Get-MailboxFolderStatistics | ? {$_.FolderType -eq "Calendar"} | select @{n="Identity"; e={$_.Identity.Replace("\",":\")}}
$calendars | % {Add-MailboxFolderPermission -Identity $_.Identity -User Email address removed -AccessRights LimitedDetails}
Adjust the permissions as needed.
$calendars = Get-Mailbox -RecipientTypeDetails UserMailbox | Get-MailboxFolderStatistics | ? {$_.FolderType -eq "Calendar"} | select @{n="Identity"; e={$_.Identity.Replace("\",":\")}}
$calendars | % {Add-MailboxFolderPermission -Identity $_.Identity -User Email address removed -AccessRights LimitedDetails}
Adjust the permissions as needed.