Exchange shared calendar

Copper Contributor

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 the ability to edit user events. What would be the best way to go about this?

 

Many thanks x

1 Reply
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.