The user is either not valid SMTP address

Glenn Maxwell 12,876 Reputation points
2023-06-01T12:50:22.6066667+00:00

Hi All

i have a shared mailbox. i want to give shared mailbox access to one of my users calendar. i am getting error. i dont see any issue with SMTP address. the shared mailbox is created in onprem and migrated to online.

Add-MailboxFolderPermission -identity ******@contoso.com:\calendar -user ******@contoso.com -accessrights editor

The user "****@contoso.com" is either not valid SMTP address**

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,183 questions
Exchange | Exchange Server | Management
Exchange | Hybrid management
{count} votes

Accepted answer
  1. Anonymous
    2023-06-02T06:34:12.16+00:00

    Hi @Glenn Maxwell ,

     

    I tried to test in my environment and can reproduce what you described.

    So, I looked up the documentation and I found out that this is an expected behavior. The user parameter mail-enabled security principals (mail-enabled accounts or groups that have security identifiers or SIDs that can have permissions assigned to them), so the shared mailbox type is not supported.
    Please refer to the following documents.

    Add-MailboxFolderPermission
    User's image

    In your situation, if you do want to make it work, you can consider converting the shared mailbox to a regular user mailbox.

    Here's a similar post for reference:
    O365 Add-MailboxFolderPermission Error - user not valid
    (Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.)

     

    Best regards

    Shaofan


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    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 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.