SharePointUseSSO Parameter (Connect-OData Cmdlet)
Specifies whether to use single sign-on (SSO) to authenticate to SharePoint Online.
Syntax
Connect-OData -SharePointUseSSO SwitchParameter
Data Type
bool
Default Value
false
Remarks
When set to true, the cmdlet uses single sign-on (SSO) to authenticate to SharePoint Online with the account specified by User and Password. AD FS, OneLogin, and OKTA identity providers are supported.
When set to false, SSO is not used, and authentication relies on the method configured for the connection.
SharePointSSODomain may be required if the SSO domain differs from the User domain.
SSO is only supported for SharePoint Online when AuthScheme is set to SHAREPOINTONLINE. It is not available for OAuth connections to SharePoint.