DL permissions

Roger Roger 7,181 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 @mydomain.com -AccessRights SendAs -Trustee "@contoso.com","******@contoso.com"

Below syntax to be executed from onprem

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

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

Accepted answer
  1. Aholic Liang-MSFT 13,886 Reputation points Microsoft External Staff
    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

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.