OAuthPasswordGrantMode Parameter (Connect-Excel Cmdlet)
Specifies how the OAuth Client Id and Client Secret should be passed. Supported options: BASIC and POST.
Syntax
Connect-Excel -OAuthPasswordGrantMode string
Possible Values
Post, BasicData Type
cstr
Default Value
"Post"
Remarks
The OAuth RFC provides two methods of passing the OAuthClientId and OAuthClientSecret. POST passes OAuthClientId and OAuthClientSecret via post data. (Works with OAuthGrantType = PASSWORD, CODE, or CLIENT.) BASIC passes the OAuthClientId and OAuthClientSecret via the Authorize header. (Works with OAuthGrantType = CODE or CLIENT.)