• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Tachytelic.net

  • Get in Touch
  • About Me

Grant a single user access to access all users calendars in Office 365

June 5, 2014 by Paulie 6 Comments

If you need to Grant a single user access to access all users calendars in Office 365 this can be achieved by using the Add-MailboxFolderPermission cmdlet.

If you are adding permissions to a mailbox where no access rights exist already then this is straightforward, but if there is already some access rights in place then the command will fail, because there is an existing permissions entry in place.

You can check for the presence of existing folder permissions with the use of Get-MailboxFolderPermission cmdlet.

Finally if you find there is any existing permission in place you can remove it by using the Remove-MailboxFolderPermission cmdlet.

I have combined these three steps have been into the PowerShell script below which will check for an existing permission, remove it if it exists and then add the new access right. This is useful if you want to re-run the script on a regular basis so that it captures new users.

PowerShell script to Grant a single user access to access all users calendars in Office 365

  1. Type in the UPN(User Principal Name) of the user that you want to grant calendar permissions.
  2. Select the permissions level you would like them to have.
  3. Copy and paste the code to a Powershell window and the calendar permissions will be assigned.

The various levels of permissions are as follows:

  • None – Has no access to the folder.
  • Owner – Gives full control of the folder. An Owner can create, modify, delete, and read folder items; create subfolders; and change permissions on the folder.
  • Publishing Editor – 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 sub folders.
  • Editor – Has all rights granted to a Publishing Editor, except the right to create subfolders. An Editor can create, modify, delete, and read folder items.
  • 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.
  • 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.
  • Nonediting Author – Can create and read folder items but cannot modify or delete any items, including those that he or she creates.
  • Reviewer – Can read folder items but nothing else.
  • Contributor – Can create only folder items and cannot read items.
  • Availability Only – View only availability data
  • Limited Details – View availability data with subject and location

This should generate output similar to the below:

Image showing how to Grant a single user access to access all users calendars in Office 365

Filed Under: Office 365, Scripts & Utilities Tagged With: Office 365, Powershell

Reader Interactions

Comments

  1. Jakub says

    November 20, 2014 at 9:21 am

    Works fine, many thanks

  2. jon says

    July 22, 2015 at 4:57 pm

    This was really useful to me and worked really well. thank you for making the effort to contribute to the net 🙂

  3. Emily B says

    July 21, 2020 at 9:15 pm

    This was exactly what I needed! Thanks so much for making it so easy, much appreciation to you!

  4. Andrew says

    September 22, 2021 at 12:42 pm

    This is great. Is there a way to flip it so all existing users can be granted access to a specific user. EG a new user is created and has been granted access to all existing users calendars. The existing users will need access to the new employee.

  5. Kieran Benham says

    October 4, 2021 at 3:13 pm

    Worked like a charm thanks for posting saved me a 2 hour Job of manually adding it for each user! 🙂

  6. Nathan says

    November 10, 2021 at 3:07 pm

    This worked perfectly, very grateful. Is there a way to remove all permissions for a user?

Leave a Reply Cancel reply

Primary Sidebar

Link to my LinkedIn Profile
Buy me a coffee

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 245 other subscribers.

Go to mobile version