Forum Discussion

Kristopherw's avatar
Kristopherw
Copper Contributor
Nov 12, 2019

How to bulk add external recipients to an Office365 Distribution List?

Hello,   I'm trying  to add our email addresses (external addresses) to a Distribution List in Office365.   I've followed this link  https://answers.microsoft.com/en-us/msoffice/forum/all/how-to-...
  • Ricardo Viana's avatar
    Ricardo Viana
    Nov 20, 2019
    That cmdlet is gathering the data from Displayname column from the CSV (-Member $_.DisplayName), you will need to change the column or the script.

    eg:.
    $Members | ForEach {Add-DistributionGroupMember -Identity TestDL -Member $_.ExternalEmailAddress}

Resources