This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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