question

Ig132435 avatar image
0 Votes"
Ig132435 asked ZhengqiLou-MSFT commented

Granting a shared mailbox permissions to access a folder in a user or shared mailbox

Hello,

I was trying to grant a shared mailbox folder permissions to another mailbox, so that someone logging into the shared mailbox directly can access a folder (such as calendar) located in another mailbox. I'm doing this in powershell.

However the following error message appears:

The user "mailboxname" is either not valid SMTP address, or there is no matching information.

However when granting folder permissions to a mail-enabled security group and adding the shared mailbox to this group, this works.

Is this by design or a bug?

Microsoft documentation on add-mailboxfolderpermission say that for the user parameter "Valid values are mail-enabled security principals (mail-enabled accounts or groups that have security identifiers or SIDs that can have permissions assigned to them)". I would think that shared mailboxes are mail-enabled accounts.

Microsoft 365 support are just as baffled as I am about this one and at first tried to say it's not supported, but then finally found this workaround using groups.

office-exchange-online-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

michev avatar image
0 Votes"
michev answered

Seems to work fine here, but keep in mind that logging in directly to a shared mailbox is not supported/against the license terms.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ZhengqiLou-MSFT avatar image
0 Votes"
ZhengqiLou-MSFT answered ZhengqiLou-MSFT commented

Hi @Ig132435 ,

Same result, but I think it is expected that you couldn't use the shared mailbox as the permission receiver.
And yes the shared mailbox gets a "$True" and a value for the parameter "IsSecurityPrincipal" and "Sid", but it still couldn't be the recipient of both mailbox permissions and mailbox folder permissions.

Best regards,
Lou


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Ig132435 ,

Do the suggestions above help? If the issue has been resolved, please click “Accept as answer” to mark helpful reply as an answer, this will make answer searching in the forum easier and be beneficial to other community members as well.

Regards,
Lou


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 Votes 0 ·

Hi @Ig132435 ,

It has been a long time since last reply, did these suggestions help you? If the above suggestion helps, please click “Accept as answer” to mark helpful reply as an answer.Your action would be helpful to other users who encounter the same issue and read this thread.

Regards,
Lou


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 Votes 0 ·