The user is either not valid SMTP address

Glenn Maxwell 10,751 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 user1@contoso.com:\calendar -user sharedmailbox@contoso.com -accessrights editor

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

Microsoft Exchange Online
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,370 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,488 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
1,993 questions
{count} votes

Accepted answer
  1. Shaofan Lv-MSFT 6,915 Reputation points Microsoft Vendor
    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