Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Dear,
I am having difficulty in using desktop power query to connect to OAUTH2 API. I am asked to request the access token to below server:
curl --request POST \
--url https://api.maersk.com/customer-identity/oauth/v2/access_token \
--header 'Cache-Control: no-cache' \
--header 'Consumer-Key: {appConsumerKey}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data grant_type=client_credentials \
--data client_id={appConsumerKey} \
--data client_secret={appClientSecret}
Then using the "Access Token" to Request API.
Anyone knows how to make the connection?
Solved! Go to Solution.
Please follow the documentation. Use Header and Content parameters. https://learn.microsoft.com/en-us/powerquery-m/web-contents#example-2
Note that most likely you will need to create a custom connector if you want to refresh in the service.
Please follow the documentation. Use Header and Content parameters. https://learn.microsoft.com/en-us/powerquery-m/web-contents#example-2
Note that most likely you will need to create a custom connector if you want to refresh in the service.
Hi @lbendlin
Is there any customs connector example for reference? I need to refresh the data everyday.
Thanks.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 |