Cmdlets for OData

Build 25.0.9434

AuthScheme Parameter (Connect-OData Cmdlet)

Specifies the authentication scheme to use for connecting to OData.

Syntax

Connect-OData -AuthScheme string

Possible Values

None, AzureAD, Basic, Digest, Negotiate, NTLM, OAuth, OAuthPassword, OAuthClient, SharePointOnline

Data Type

cstr

Default Value

"None"

Remarks

  • None: No authentication for this service.
  • AzureAD: Set this to perform Azure Active Directory OAuth authentication.
  • Basic: Set this to use HTTP Basic authentication.
  • Digest: Set this to use HTTP Digest authentication.
  • Negotiate: If AuthScheme is set to NEGOTIATE, the cmdlet negotiates an authentication mechanism with the server. Set AuthScheme to NEGOTIATE if you want to use Kerberos authentication.
  • NTLM: Set this to use your Windows credentials for authentication.
  • OAuth: Set this to establish an OAuth connection.
  • OAuthPassword: Set this to establish an OAuth connection with the password grant type.
  • OAuthClient: Set this to establish an OAuth connection with the client grant type.
  • SharePointOnline: Set this to use SharePoint Online authentication.

This is a required parameter.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434