Sunday , November 8 2020

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

Simulate backup in a Exchange Server to Clear Logs

Simulating backup in a Exchange Server to Clear Logs happens sometimes when the backup stops …

Leave a Reply

Your email address will not be published.