SharePoint Online PowerShell Error Messages
The SharePoint Online Management Shell: sites, sharing and tenant settings.All SharePoint Online PowerShell pages
- Connect-SPOService : Current site is not a tenant administration site.Connect-SPOService needs the admin center URL, https://TENANT-admin.sharepoint.com, not a site or the root URL. Use the -admin host and a SharePoint admin.
- Get-SPOSite: Cannot bind parameter 'Identity'. Cannot convert value to type "SpoSitePipeBind"SPO cmdlets such as Get-SPOSite and Set-SPOSite take only the full site URL in -Identity. A title, a /sites/ path, a URL without https or an object fails.
- No connection available. Use Connect-SPOService before running this CmdLet.SharePoint Online Management Shell cmdlets like Get-SPOSite and Set-SPOTenant need a session. Run Connect-SPOService with your tenant's -admin URL first.
- Set-SPOTenant: Cannot bind parameter 'SharingCapability'. Cannot convert value "Anyone"-SharingCapability takes enum names, not admin center labels: Anyone is ExternalUserAndGuestSharing, New and existing guests is ExternalUserSharingOnly.