DL permissions

Roger Roger 4,956 Reputation points
2023-01-17T21:09:07.1533333+00:00

Hi

we have exchange hybrid environment. I have onpremDL, i have one remote mailbox created from onprem, other one is created in exchange onprem and migrated to exchange online. I want to provide DL send As & sendon behalf permissions to these two users. is the below syntax correct.

Below syntax to be executed from Online

Add-RecipientPermission onpremdl@mydomain.com -AccessRights SendAs -Trustee "user1@contoso.com","user2@contoso.com"

Below syntax to be executed from onprem

Add-ADPermission -Identity onpremdl@mydomain.com -User "user1@contoso.com","user2@contoso.com" -AccessRights ExtendedRight -ExtendedRights "Send As"

Microsoft Exchange Online
Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,096 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,211 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,369 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,901 questions
{count} votes

Accepted answer
  1. Aholic Liang-MSFT 13,741 Reputation points Microsoft Vendor
    2023-01-18T10:25:07.53+00:00

    Hi @Roger Roger,

    The Trustee parameter of Add-RecipientPermission can only add one user at a time. If you want to grant the send as permission to multiple users, you can refer to the following to create a CSV file:

    $UserList = Import-CSV C:\temp\users.csv
    ForEach ($User in $UserList) {
        Add-RecipientPermission distributiongroup -AccessRights SendAs –Trustee $user.alias
    }
    

      2023-1-18-2

    The Add-ADPermission command is the same as Add-RecipientPermission.

     

    In addition ,I found this document for you reference:

    Permissions in Exchange hybrid deployments | 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".

    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