Cmdlets for Zendesk

Build 24.0.9175

InitiateOAuth Parameter (Connect-Zendesk Cmdlet)

Specifies the process for obtaining or refreshing the OAuth access token, which maintains user access while an authenticated, authorized user is working.

Syntax

Connect-Zendesk -InitiateOAuth string

Possible Values

OFF, GETANDREFRESH

Data Type

cstr

Default Value

"OFF"

Remarks

OAuth is an authorization framework that enables applications to obtain limited access to user accounts on an HTTP service. The OAuth flow defines the method to be used for logging in users, exchanging their credentials for an OAuth access token to be used for authentication, and providing limited access to applications.

Zendesk supports the following options for initiating OAuth access:

  1. OFF: No automatic OAuth flow initiation. The OAuth flow is handled entirely by the user, who will take action to obtain their OAuthAccessToken. Note that with this setting the user must refresh the token manually and reconnect with an updated OAuthAccessToken property when the current token expires.
  2. GETANDREFRESH: The OAuth flow is handled entirely by the cmdlet. If a token already exists, it is refreshed when necessary. If no token currently exists, it will be obtained by prompting the user to login.

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