0

Can you please tell me how can i retrieve the ID of a security group, so i can add this value to a listItem field of type USER

i have this values when a search for a security group by name.

enter image description here

1 Answer 1

0

You can using PowerShell command to retrieve security groups ID :

$groupid = Get-MsolGroup | Where-Object {$_.DisplayName -eq “Test Security Group”}

$groupid

About how to use SharePoint online PowerShell ,you can reference :

https://howtodowithsharepoint.wordpress.com/2015/12/19/office-365-how-to-configure-powershell-for-o365/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.