Skip to content

Instantly share code, notes, and snippets.

@rjesh-git
Last active February 2, 2018 22:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rjesh-git/f819fa7b07a1cd2d94376febbbf9c4f7 to your computer and use it in GitHub Desktop.
Save rjesh-git/f819fa7b07a1cd2d94376febbbf9c4f7 to your computer and use it in GitHub Desktop.
add site collection admin to communication sites
# Update the tenant url
PS C:\> .\Add-CommSitesSCA.ps1 -Url https://<tenant>-admin.sharepoint.com
## Or Provide optional credentials
PS C:\> $creds = Get-Credential
PS C:\> .\Add-CommSitesSCA.ps1-Url https://<tenant>-admin.sharepoint.com -Credentials $creds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment