query on Access

Roger Roger 6,246 Reputation points
2024-09-07T22:09:31.1633333+00:00

Hi All,

I am using an Exchange 2016 hybrid environment. We create shared mailboxes on-premises and migrate them to Exchange Online, or create remote shared mailboxes from on-premises. Let's say my shared mailbox is smb@contoso.com. I have a few external users (i.e user type is guest), and I want to provide them with delegated access to this shared mailbox. I have created a mail-enabled security group and added these guest users. Is it possible to provide delegated access/calendar access to the shared mailbox for these guest users?

Microsoft Exchange Online
Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,298 questions
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,535 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,635 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.
2,105 questions
{count} votes

Accepted answer
  1. Xintao Qiao-MSFT 3,375 Reputation points Microsoft Vendor
    2024-09-09T02:50:21.37+00:00

    Hi, @Roger Roger

    In Exchange 2016 hybrid environment, providing delegated or calendar access to shared mailboxes for guest users can be somewhat complex because of certain limitations and constraints.

    First, delegated permissions across environments are migrated via DirSync, but delegated access may not work properly when principals and delegates are distributed across on-premises and online environments. This means that if the shared mailbox is in Exchange Online and the guest user is on-premises, or vice versa, delegated access won't work as expected.

    In addition, mailbox permissions, such as Send As and full access, are migrated when a mailbox is moved through the Mailbox Replication Service. However, the mailbox permissions for referenced distribution lists and mail-enabled users are not retained and must be manually re-added using cmdlets such as Add-RecipientPermission and Add-MailboxPermission.

    If you've created a mail-enabled security group and added guest users, you need to make sure that these guest users have the appropriate licenses and are properly configured in Azure AD, make sure that mail is enabled, and sync between on-premises and Azure AD, then you can try the following commands.

    If you want to assign full access:

    Add-MailboxPermission -Identity smb@contoso.com -User YourSecurityGroup@contoso.com -AccessRights FullAccess -InheritanceType all
    

    If you want to assign calendar access:

    Add-MailboxFolderPermission -Identity smb@contoso.com:\Calendar -User YourSecurityGroup@contoso.com -AccessRights Editor
    

    More information can be found Add-MailboxFolderPermission (ExchangePowerShell) | Microsoft Learn

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


2 additional answers

Sort by: Most helpful
  1. Amit Singh 4,896 Reputation points
    2024-09-09T06:56:18.1366667+00:00

    If you want to give access of shared mailboxes to guest users. You can do this by running the command in Powershell.

    For Full Access Permission- Add-MailboxPermission -Identity "smb@contoso.com" -User "YourSecurityGroup" -AccessRights FullAccess

    By running this command, it allows members of the group to fully access the mailbox.

    For Calendar Access permission- Add-MailboxFolderPermission -Identity "smb@contoso.com:\Calendar" -User "YourSecurityGroup" -AccessRights Editor

    Also check guest users have Microsoft accounts to properly access the mailbox.

    0 comments No comments

  2. Roger Roger 6,246 Reputation points
    2024-09-12T22:40:08.5+00:00

    Do i need to assign any license to guest users? will exchange online plan1 license work?


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.