Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I try to use PowerBI REST API with Postman.
1- Obtain a token
POST https://login.microsoftonline.com/common/oauth2/v2.0/token
Body :
client_id=myClienID
&grant_type=client_credentials
&scope=https%3A%2F%2Fanalysis.windows.net%2Fpowerbi%2Fapi%2F.default
&client_secret=myClientSecret
2 - Response
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As far as I’m concerned, you should use the access token you got in the first two steps to use as the authorization to run the next requests you posted.
You should select the authorization type and put the authorization text here:
I also suggest you to go to the official document of the rest API to click on the “try it” to try the API before you run it in the Postman:
https://docs.microsoft.com/en-us/rest/api/power-bi/reports/get-reports
Thank you very much!
Best Regards,
Community Support Team _Robert Qin