Quantcast
Channel: Azure Management Portal forum
Viewing all articles
Browse latest Browse all 4189

Retrieve Azure AD Group SID using Powershell

$
0
0

We are trying to retrieve the SID of a msolgroup using Powershell.  But I can't find anywhere it is exposed.  Anyone know how to do this?

We need it in order to set the OneDrive Secondary Admin on individual mysites:

$SID = "c:0-.f|rolemanager|xxxxxxx"
Set-SPOUser -Site $site.url -IsSiteCollectionAdmin $true -LoginName $SID 


Viewing all articles
Browse latest Browse all 4189

Trending Articles