Forum Discussion
API Authorization
Where is the API documentation to get the authorization bearer token?
I am struggling to find it.
Hi,
As far as I’m concerned, you can use the below rest API in the Power BI to post the HTTP request like this to get the authorization bearer token:
POST https://api.powerbi.com/v1.0/myorg/GenerateTokenYou can refer to this link:
https://docs.microsoft.com/en-us/rest/api/power-bi/embed-token/generate-token
Thank you very much!
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 Replies
- GilbertQSuper User
Hi Klarson
Here is a blog post on how to achieve this: Connecting to an OAuth API Like PayPal With Power Query • My Online Training Hub
- v-robertq-msftCommunity Support
Hi,
As far as I’m concerned, you can use the below rest API in the Power BI to post the HTTP request like this to get the authorization bearer token:
POST https://api.powerbi.com/v1.0/myorg/GenerateTokenYou can refer to this link:
https://docs.microsoft.com/en-us/rest/api/power-bi/embed-token/generate-token
Thank you very much!
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.