Modify Microsoft 365 User Calendar Access Rights using PowerShell
Pre-requisites:
- Must have administrator access rights to Microsoft 365
- Must have PowerShell ExchangeOnlineManagement installed
- Must have experience to run PowerShell Commands to Modify Microsoft 365 Calendar
If you are Microsoft 365 administrator and want to modify Microsoft 365 user calendar access to another use because it’s the only requirement then you are visiting the correct page. Sharing calendar using outlook client is easier but there can be cases where a user is really busy or that user is from higher management where access to the system is not possible then this method will work. Microsoft 365 administrator with Exchange Online management rights can perform this by using PowerShell commands.
How to modify Microsoft 365 user calendar?
- Open Powershell 7 with administrator rights (right client on start menu and open terminal with admin)
- Install-Module ExchangeOnlineManagement (copy and paste this command to PowerShell and press enter)
- Get-MailboxFolderPermission [email protected]:\calendar (copy and paste this command to PowerShell and press enter, make sure to change the email address)
-
- add-MailboxFolderPermission -Identity [email protected]:\calendar -user [email protected] -AccessRights Editor
As the above command was to provide editor access rights of [email protected] calendar to [email protected] user so it will provide the editor rights. The user [email protected] will add the calendar of [email protected] and will be able to edit the meeting request. This option is very handy for personal assistant to make changes to calendar and does not have full or partial access to other user’s emails. this will keep the privacy intact to make sure the user is safe with email handling.