Thursday , January 28 2021

Adding members to unified group via csv

Make sure you Connected to Exchange Online PowerShell

Connect-ExchangeOnline

To check Unified Group Members –

Get-UnifiedGroupLinks groupname -LinkType member

Add Members to Unified Group via CSV –

Import-Csv .\usersupn.csv | ForEach-Object{Add-UnifiedGroupLinks -Identity migrate -LinkType members -Links $_.upn}

CSV Sample – Double quotes is very important otherwise you many see undesirable adds.

You can always use -WhatIf if you want to verify before applying

Import-Csv .\usersupn.csv | ForEach-Object{Add-UnifiedGroupLinks -Identity migrate -LinkType members -Links $_.upn -Whatif}

 

About Satheshwaran Manoharan

Satheshwaran Manoharan is an Microsoft Office Server and Services MVP , Publisher of Azure365pro.com. Specialized in Office365 / Microsoft Exchange / Virtualization , Sathesh is an Messaging Expert supporting/Designing/Deploying many medium size businesses to large enterprises when it comes to Corporate messaging and Virtualization Infrastructure

Check Also

Export all distribution Group and all members in Exchange and Office 365

In some situations, we have to Export all the Distribution group/Unified Groups and all the …

One comment

  1. I am so grateful for your blog article. Thanks Again. Great. Edy Immanuel Hoyt

Leave a Reply

Your email address will not be published.