Mailbox folder permission granted for resource mailbox


I noticed that it is not easy to grant (Add-MailboxFolderPermission) mailbox folder permission for a resource mailbox (e.g. room, shared, equipment).

Note: The Identity parameter specifies the recipient and folder that you want to change the permissions for. This parameter takes the following format: <SMTP Address or Alias of Recipient>:<Folder path>. The following is an example:\Calendar. In my case it is \Kalenteri because of Finnish language. How to determine the right value for the folder path use for example Get-MailboxFolderStatistics “alias” | select Folderpath

[PS] C:\> Add-MailboxFolderPermission FORoom:\Kalenteri -AccessRights reviewer -User JohnK

The user "JohnK" was found in Active Directory but isn't valid to use for permissions. Try an SMTP address instead.
 + CategoryInfo : NotSpecified: (0:Int32) [Add-MailboxFolderPermission], InvalidInternalUserIdException
 + FullyQualifiedErrorId : 158B211F,Microsoft.Exchange.Management.StoreTasks.AddMailboxFolderPermission

[PS] C:\> Add-MailboxFolderPermission  FORoom:\Kalenteri -User "" -AccessRights reviewer

The user "" is either not valid SMTP address, or there is no matching information.
 + CategoryInfo : NotSpecified: (0:Int32) [Add-MailboxFolderPermission], InvalidExternalUserIdException
 + FullyQualifiedErrorId : 331E5E8C,Microsoft.Exchange.Management.StoreTasks.AddMailboxFolderPermission

But why? Let me know 😉

Converted resource mailbox to user mailbox Type:Regular works properly. It does not matter if the resource has disabled AD accout (typical character for a resource mailbox) or not.

[PS] C:\ Get-Mailbox "JohnK" | Set-Mailbox -Type:Regular
[PS] C:\> Add-MailboxFolderPermission FORoom:\Kalenteri -User "" -AccessRights reviewer

RunspaceId : 696651a2-c64d-4d07-8bf2-a7bc32a4473f
FolderName : Kalanteri
User : JohnK
AccessRights : {Reviewer}
Identity : JohnK
IsValid : True

One thought on “Mailbox folder permission granted for resource mailbox

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s