$SiteURL = "https://test.sharepoint.com/sites/team" Connect-PnPOnline -Url $SiteURL -UseWebLogin $Group = Get-PnPGroup -AssociatedVisitorGroup $User = "Everyone except external users" Add-PnPGroupMember -LoginName $User -Identity $Group
No comments:
Post a Comment