Bulk Add Members to Exchange Online Distribution Group

Modified on Tue, 30 Jun at 12:56 PM

Bulk Add Members to Exchange Online Distribution Group 


Using PowerShell Install ExchangeOnlineManagement module: 


Install-Module ExchangeOnlineManagement -Scope CurrentUser 


Import module: 

Import-Module ExchangeOnlineManagement 


Connect: Connect-ExchangeOnline


 Prepare Users.csv with header EmailAddress and one email per line. 


Run: $DG='group@company.com'


 Import-Csv 'C:\Scripts\Users.csv' | ForEach-Object { Add-DistributionGroupMember -Identity $DG-Member $_.EmailAddress }


 Verify: Get-DistributionGroupMember -Identity 'group@company.com' Disconnect: Disconnect-ExchangeOnline -Confirm:$false

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article