Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Connecting to Graph API through Rest connector using OAuth2 authentication

Hi All,

I am trying to create a Rest connector call to the below Graph API https://

login.microsoftonline.com/{tenant}/oauth2/v2.0/token

As part of POST method call within Qlik Rest Connector I am using the below details

Post Method: Request Body

client_id=<Client Id Details>&client_secret=<Client Secret Details>&grant_type=client_credentials&scope=https://graph.microsoft.com/.default

Query Header

content-type      application/x-www-form-urlencoded

I am receiving the access token when invoking the above through POSTMAN, but the Test Connection within Rest Connector is giving below error message

HTTP protocol error 401 (Unauthorized):Requested resource requires authentication.

Need help in understanding what could be the probable issue here?

Also just to check which Authentication Option under Authentication Schema do I need to select?

Thanks

0 Replies