Jun 06 2023 09:49 AM
For all users in our company, do we have an option to set the Calendar Permissions for Outlook so that the whole organization "Can view titles and locations?"
I've found the following powershell command which I believe will set it for the specified user:
But I believe this does not prevent the user from resetting the calendar viewing permissions. Is there a way to set this for everyone in our organization and prevent them from changing it?
Jun 07 2023 02:14 AM - edited Jun 07 2023 02:16 AM
Hi Tandy,
The available AccessRight are listed here:
https://learn.microsoft.com/en-us/powershell/module/exchange/add-mailboxfolderpermission?view=exchan...
If you want to loop through the users, you can use:
Connect-ExchangeOnline
Get-Mailbox -ResultSize Unlimited | ForEach {Get-MailboxFolderPermission -Identity "$($_.PrimarySMTPAddress):\Calendar" } | Select Identity,User,AccessRights
foreach($usermbx in Get-Mailbox -RecipientTypeDetails UserMailbox) {
$usercalendar = $usermbx.alias+":\Calendar"
Set-MailboxFolderPermission -Identity $usercalendar -User Default -AccessRights LimitedDetails
I don't think you can prevent users from changing the accessrights afterwards since they are the owner of the mailbox.