The Sharing policy doesn’t allow you to grant certain permissions to users on CalendarFolder folder “Calendar”

When attempting to share Calendars between users via powershell, I encountered an error stating:

The Sharing policy doesn’t allow you to grant certain permissions to users on CalendarFolder folder “Calendar”

Sharing Policy Doesnt Allow You To Grant Certain Permissions

The first cmdlet I used was:

Add-MailboxFolderPermission -Identity [email protected]:\Calendar -User [email protected] -AccessRights Author

This returned the error above.

I tried sharing again, referring to the users with just their aliases:

Add-MailboxFolderPermission -Identity nick.lastname -User claire.lastname -AccessRights Author

This resulted in the following error which points to the real issue:

The specified mailbox “nick.lastname” isn’t unique.

Specified Mailbox Isn't Unique

In this tenant, we have multiple users with the same alias and different domain names – eg. [email protected] and [email protected]

The Add-MailboxFolderPermission cmdlet might require that the users have unique aliases. To resolve this, I changed the user’s alias to something unique using the Set-Mailbox cmdlet

Set-Mailbox -identity [email protected] -Alias nick.lastnamedomain1

Change Alias To Add Permissions

Once this was resolved for the affected users, I could add the mailbox permission without issue by referring to the users by their unique aliases:

Add-MailboxFolderPermission -Identity nick.lastnamedomain1:\Calendar -User claire.lastnamedomain1 -AccessRights Author

Was this article helpful?

Related Articles