Have any questions

Import Contacts in Office 365

This PowerShell Script lets you import contacts in Office 365. You need Global Admin access to perform this Office 365.


$DName = Read-Host “Enter Distribution Group Name”; #Creates a name for the Distribution Group
$DNameNoSpace = $DName -replace ‘\s’,”; #Removes the spaces from the name for email address
$DAdd = $DNameNoSpace + ‘@infraadminassist.onmicrosoft.com’; #creates an email address

Download Full Script

Purpose:To import contacts in Office 365
Type:PowerShell (.ps1)
Compatibility:Run with PowerShell
Tags:Office 365, Microsoft
Reference link: