adding user into allow messages for sending email to distribution group - delivery management

Aran Billen 516 Reputation points

Hi all,

I want to add a user into the delivery management part of a distribution group so they can send emails to this group - how do I do this via powershell as doing it using the portal I get a error stating "There are multiple recipients matching the identity "user". Please specify a unique value."

and after removing this user I get the same error even though the user isnt there

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,171 questions
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,043 questions
0 comments No comments
{count} votes

Accepted answer
  1. Rich Matheisen 44,776 Reputation points

    Try this after connecting to Exchange Online (unless you're doing this in an on-site AD organization):

    $DL = "group-identity"
    $U = ""
    Set-DistributionGroup -Identity $DL -AcceptMessagesOnlyFrom @{Add=$U}

0 additional answers

Sort by: Most helpful