Is there a way to use
Set-SPOUser to add a security group I created in Office 365 as a secondary site collection administrator?
I have the security group's Login Name which begins with "s-1-5-21-..." and I can use this login name to add the security group to an existing site group using
Add-SPOUser without a problem.
But when I run the command:
Set-SPOUser -Site https://fakesite.sharepoint.com/sites/URL -LoginName s-1-5-21-112313...
I get the error:
Set-SPOUser : The user does not exist or is not unique.