Cmdlets for OData

Build 24.0.9111

AuthScheme Parameter (Connect-OData Cmdlet)

The scheme used for authentication. Accepted entries are NTLM, BASIC, DIGEST, NONE, NEGOTIATE, or SHAREPOINTONLINE.

Syntax

Connect-OData -AuthScheme string

Possible Values

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

Data Type

cstr

Default Value

"None"

Remarks

Together with Password and User, this field is used to authenticate against the OData server. NONE is the default option.

  • 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 will negotiate 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) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9111