Lopes Cloud

[MICROSOFT 365] – Calendar Permission (GET, SET, ADD and REMOVE)

Hey there!

The syntax for all four commands:

Get-MailboxFolderPermission -Identity [email protected]:\calendar
Set-MailboxFolderPermission -Identity [email protected]:\calendar -user [email protected] -AccessRights Editor
Add-MailboxFolderPermission -Identity [email protected]:\calendar -user [email protected] -AccessRights Editor
Remove-MailboxFolderPermission -Identity [email protected]:\calendar -user [email protected]

Let’s take a quick look at the calendars permission available to use with the switch -AccessRights

o Owner: The Owner role gives full control of the folder. An Owner can create, modify, delete, and read folder items; create subfolders; and change permissions on the folder.
o PublishingEditor: The Publishing Editor role has all rights granted to an Owner, except the right to change permissions. A Publishing Editor can create, modify, delete, and read folder items and create subfolders
o Editor: The Editor role has all rights granted to a Publishing Editor, except the right to create subfolders. An Editor can create, modify, delete, and read folder items
o PublishingAuthor: A Publishing Author can create and read folder items and create subfolders but can modify and delete only folder items that he or she creates, not items created by other users
o Author: An Author has all rights granted to a Publishing Author but cannot create subfolders. An Author can create and read folder items and modify and delete items that he or she creates
o NonEditingAuthor: A Nonediting Author can create and read folder items but cannot modify or delete any items, including those that he or she creates
o Reviewer: A Reviewer can read folder items but nothing else.
o Contributor: A Contributor can create only folder items and cannot read items.
o AvailabilityOnly: (Outlook displays as Free/Busy time
o LimitedDetails: Outlook displays as View Free/Busy Time, Subject, location), display as Limited Details

Get calendar permission from all users

Get-Mailbox | ForEach-Object {Get-MailboxFolderPermission $_":\calendar"} | Select Identity, User, AccessRights

BYW, an important piece of advice is if your users have their home language from Microsoft 365 different from English you must change the word calendar to the appropriate translation. In my case, I have a lot of Brazilian users so, sometimes I should use calendário as the folder name.

Remove-MailboxFolderPermission -Identity [email protected]:\calendário -user [email protected]

Compartilhe:

Bruno Lopes

Bruno Lopes

Hey there! I'm Bruno Lopes a consultant based in São Paulo, Brazil. I have been working in the IT industry for over 18+ years and have worked in a variety of roles, from helpdesk to systems administration and now as a cloud consultant. I worked in all aspects of Microsoft technology from end-user computing to on-premises data centers but now I spend all my time working with Microsoft Azure and Microsoft 365, deploying and automating solutions for customers across a wide range of industries. When I'm not focusing on IT, I enjoy music and reading, spending as much time as possible with my wife and daughter.

Continue lendo...

This guide outlines setting up Azure AD SSO with AWS, streamlining access management for enterprise applications.

Issue: Facing synchronization challenges with Active Directory (AD) users in Microsoft Entra ID (formerly known as Azure AD)? You’re not alone. It’s a common scenario where AD users fail to

Change Microsoft SQL database owner with ALTER DATABASE and ALTER AUTHORIZATION commands for streamlined ownership management.

To kill a VM process follow the steps below: Open POWERSHELL as administrator: