How to provide Permission on DL to send email to other DL

Mohammed Zuber Miyanavar 21 Reputation points
2021-02-21T14:09:45.993+00:00

Need your Help on this below request.
infrastructure details : Office 365 and Exchange 2013 hybrid.

We Are using hybrid Mail Services , we have request to provide user permission to Send As , User will send email to Xyz@test .com DL from Xyz@test .com DL.

Xyz@test .com Dl has 30 Recipients.

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,320 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,440 questions
0 comments No comments
{count} votes

Accepted answer
  1. Lucas Liu-MSFT 6,161 Reputation points
    2021-02-22T06:11:24.61+00:00

    Hi @Mohammed Zuber Miyanavar ,
    1.Please create a CSV file like below screenshot:
    70468-1.png
    2.If users in Exchange online, please run the following command in powershell:

    Import-csv <> | foreach-object {Add-RecipientPermission -Identity "<>" -Trustee $_.Name -AccessRights SendAs}  
    

    3.If users in on-premises Exchange server, please run the following command in Exchange Management Shell:

    Import-csv <> | foreach-object {Add-ADPermission -Identity <> -User $_.Name -ExtendedRights "Send As"}  
    

    4.In addition, you could also assign the permission in EAC:
    70493-5.png

    Below is my test in lab environment:
    1.In powershell:
    70469-2.png
    2.In Exchange Management Shell:
    70410-3.png
    3.Try to send an email from one DL to other DL:
    70370-4.png


    If the response is helpful, please click "Accept Answer" and upvote it.
    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.


1 additional answer

Sort by: Most helpful
  1. Ashok M 6,506 Reputation points
    2021-02-21T15:00:14.74+00:00

    Hi @Mohammed Zuber Miyanavar

    Run the below command to get the members of the DL

    Get-DistributionGroupMember -Identity "Name" | select Name >c:\Users.csv
    Import-csv C:\users.csv | foreach-object {Add-ADPermission -Identity "DGName" -User $_.Name -ExtendedRights "Send As"}

    You can use Add-RecipientPermission incase if the users are in Exchange Online
    https://learn.microsoft.com/en-us/powershell/module/exchange/add-recipientpermission?view=exchange-ps

    If the above suggestion helps, please click on "Accept Answer" and upvote it.