How do I get my OAuth 2.0 access token

Hi Beth,

Yes. I was referring to the below post:
Error while requesting the token using the OAuth 2.0 authentication

I was able to make some progress. I am able request and get the Token from Authentication server.

If I pass the all the required parameters from the “Request Body”. Then I am able fetch the Token

I get below error. If I try to pass the parameters from the Connector “Environment Settings” page :

Function Test Error

There was an error while testing the function: [500] OAuthError: OAuth Token Refresh Response Invalid - Error refreshing OAuth token: invalid_request: AADSTS900144: The request body must contain the following parameter: ‘grant_type’. Trace ID: 021af03e-e5b0-4b11-bc1d-7889a7390500 Correlation ID: 766bcbb4-681c-43d2-9b3e-5b759e119628 Timestamp: 2024-11-07 08:31:49Z

Thanks,
Shrinivas