Forum Discussion
Connecting to API in Power BI Web Service
I am able to access API data in Power BI Desktop but cannot access it from app.powerbi.com because it doesn't allow me to pass in password as json body. So I got 404 Not Found error on the API link. Any idea how to access API on app.powerbi.com?
Thanks!
Hi Anonymous
In this blog post from Prathy you will see the code where you can pass the API Key in the header.
Calling Power BI API using Power BI Desktop to document Power BI Service - Prathy's Blog...
Then in the Power BI Service change the authentication type to Anonymous and it should work.
1 Reply
- GilbertQ
Super User
Hi Anonymous
In this blog post from Prathy you will see the code where you can pass the API Key in the header.
Calling Power BI API using Power BI Desktop to document Power BI Service - Prathy's Blog...
Then in the Power BI Service change the authentication type to Anonymous and it should work.