Hi everyone,
I am experiencing a very weird issue when tried adding a permission to a mailbox folder using EMS. My setup is hybrid (O365 + Exchange 2010 SP3). Before you ask, both mailbox are resides on premise.
PS C:\Users\Administrator> Add-MailboxFolderPermission -Identity USERA:\calendar -AccessRights reviewer -UserUSERB
Add-MailboxFolderPermission : The user "USERB" was found in Active Directory but isn't valid to use for permissi
ons. Try an SMTP address instead.
At line:1 char:28
+ Add-MailboxFolderPermission <<<< -Identity USERA:\calendar -AccessRights reviewer -UserUSERB
+ CategoryInfo : NotSpecified: (0:Int32) [Add-MailboxFolderPermission], InvalidInternalUserIdException
+ FullyQualifiedErrorId : EC93F86A,Microsoft.Exchange.Management.StoreTasks.AddMailboxFolderPermission
PS C:\Users\Administrator> Add-MailboxFolderPermission -Identity USERA:\calendar -AccessRights reviewer -User SMTPADDRESS Add-MailboxFolderPermission : The user "SMTPADDRESSis either not valid SMTP address, or there is no match
ing information.
At line:1 char:28
+ Add-MailboxFolderPermission <<<< -Identity USERA:\calendar -AccessRights reviewer -UserSMTPADDRESS
+ CategoryInfo : NotSpecified: (0:Int32) [Add-MailboxFolderPermission], InvalidExternalUserIdException
+ FullyQualifiedErrorId : 54AA5D19,Microsoft.Exchange.Management.StoreTasks.AddMailboxFolderPermission
FYI, I also try using set mailbox but it is already a regular type.
PS C:\Users\Administrator> Set-Mailbox -Identity USERB -Type regular
Set-Mailbox : Couldn't convert the mailbox because the mailbox "USERB" is already of the type "Regular".
At line:1 char:12
+ Set-Mailbox <<<< -Identity USERB -Type regular
+ CategoryInfo : NotSpecified: (FQDN/USERB:ADObjectId) [Set-Mailbox],
TaskArgument
Exception
+ FullyQualifiedErrorId : DC658045,Microsoft.Exchange.Management.RecipientTasks.SetMailbox
Just to add, I can add other user such as USERC to USERA mailbox folder permission.
PS C:\Users\Administrator> Add-MailboxFolderPermission -Identity USERA:\calendar -AccessRights reviewer -User USERC
FolderName : Calendar
User : USERC
AccessRights : {Reviewer}
Identity : USERC
IsValid : True
I am at lost here.