This article explains the procedure to add members to distribution group using PowerShell in Exchange Online or Office 365. It also lists the steps to accomplish the same using ADManager Plus, a unified Active Directory, Office 365 and Exchange management and reporting tool, and explain why the PowerShell is a complex option.
Screenshot
The PowerShell script mentioned above will add the user JohnS to the distribution group named Marketing. To bulk add members to a distribution list in Office 365, or add members to distribution groups from CSV, the script has to be modified by adding more parameters and functions, making it more complex.
Single-window mailbox management for Exchange and Office 365 with ADManager Plus.
Get 30-day free trial.Your download should begin automatically in 15 seconds. If not, click here to download manually.
For AD User Management
For AD User Reporting
For GPO Management
For Password Management
For AD Group Management
For File Access Management
For AD Computer Management
For Office 365 Management
For Exchange Management
For Microsoft Graph PowerShell
Entra ID user management
Entra ID reporting
Entra ID group management and reporting
Entra ID domain management
Entra ID contact management and reporting
Other Entra ID tasks
For Azure AD PowerShell
Entra ID user management
Entra ID reporting
Entra ID group management
Entra ID group reporting
Entra ID domain management
Entra ID contact management and reporting
Other Entra ID tasks