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 ...
MathieuVandenHautte
Jun 07, 2023Steel 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.