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}
I am so grateful for your blog article. Thanks Again. Great. Edy Immanuel Hoyt