How to Add Multiple Distribution List with Bulk Import in Office 365

Posted on

In office 365 admin not provided to add multiple group like add multiple user using csv.

But if you required to do it you can use Windows Azure Active Directory Module for Windows PowerShell. First you need to download it. refer to this following link : .


after download windows azure active directory module for windows powershell run this command :

Type Credential user & password Office 365 :

$UserCredential = Get-Credential

Type for session Exchange Online :
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $UserCredential -Authentication Basic -AllowRedirection

Import Session exchange online :
Import-PSSession $Session

Run this command to create multiple group :

Import-Csv “D:\DistributionList.csv” | Foreach {New-DistributionGroup -Name $ -DisplayName $_.DisplayName -Alias $_.Alias -PrimarySMTPAddress $_.PrimarySMTPAddress -Type $_.Type}


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s