Forum Discussion
davidhedge
Jul 26, 2022Copper Contributor
Powershell Calendar Permissions
Hi! I am looking to make a powershell command that allows a handful of users to edit every users outlook calendar in the exchange. Currently it is set so that everyone can see each others calendars which is fine, but like mentioned, I would like a few accounts to be able to modify/delete/add items to anyone's calendar. Can someone help with this?
- You will have to grant them Editor (or the appropriate level) permissions, on each user's calendar. Here's a quick and dirty way to do this:
$calendars = Get-Mailbox -RecipientTypeDetails UserMailbox | Get-MailboxFolderStatistics | ? {$_.FolderType -eq "Calendar"} | select @{n="Identity"; e={$_.Identity.Replace("\",":\")}}
$calendars | % {Set-MailboxFolderPermission -Identity $_.Identity -User email address removed for privacy reasons -AccessRights Editor}- ZenulbasharCopper ContributorHi @VasilMichev I can see that this command gives permission to bunch of users. However, I am trying to give all employees to edit each other's calendar, so that everyone can see everyone's calendar and should edit each other calendar. Is this possible with a group policy or any other way that i am not aware of? Please Enlighten me as we are totally on Azure and using E3 licenses for all the users.