Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi Power BI Experts - I have a requirement to call power bi rest api from dot net code, but before that I was trying to test it using powetman client, but getting 403 error when calling power bi rest service using auth token. I follow below steps to do that. Please suggest what step I'm missing over here?
1) Created Azure AD app and gave Power BI service deletgaed permissions to this app.
2) Retrieve access token using client id and secret as below.
3) Then token recieved form step 2, used as authrozation header and passed to power bi rest api service in post man client as below.
Solved! Go to Solution.
I was able to resolve it.
The resolution is, I was using oauth 2.0 V1 end point for token generation which was giving 403 when being used with Power BI rest api, but when I tried oauth 2.0 V2 end point to generate tojen , it worked.
I would really be happy, if some kind of error message was thrown in response body to troubleshoot this, but this resolution may help for other users if they fall into similar issue.
I was able to resolve it.
The resolution is, I was using oauth 2.0 V1 end point for token generation which was giving 403 when being used with Power BI rest api, but when I tried oauth 2.0 V2 end point to generate tojen , it worked.
I would really be happy, if some kind of error message was thrown in response body to troubleshoot this, but this resolution may help for other users if they fall into similar issue.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!