Forum Discussion
TandyWine
Jun 06, 2023Iron Contributor
Set Outlook Calendars Tenant Wide to View Titles and Locations
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:
- Set-MailboxFolderPermission email address removed for privacy reasons:\calendar –User Default –AccessRights LimitedDetails
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?
- MathieuVandenHautteSteel Contributor
Hi Tandy,
The available AccessRight are listed here:
https://learn.microsoft.com/en-us/powershell/module/exchange/add-mailboxfolderpermission?view=exchange-ps#parameters
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.