Forum Discussion
Generating Authorization: Bearer token for calling Power BI Rest API
Hi innocence84 ,
You can refer the following links to generate the token:
Permission tokens needed for embedding a Power BI app - Power BI | Microsoft Learn
Powershell method:
Note: Make sure you have installed the related modules: MicrosoftPowerBIMgmt.Profile before call the below command.
Get-PowerBIAccessToken (MicrosoftPowerBIMgmt.Profile) | Microsoft Learn
Get-PowerBIAccessToken
Postman method:
Solved: Power BI REST API using postman - generate embed t... - Microsoft Fabric Community
Access the Power BI Rest APIs using Postman - Helical IT Solutions Pvt Ltd (helicaltech.com)
Best Regards
Thank you.
We want to call the Power BI rest API from a Power BI data flow. So it's not an embedded app. We also want to call via Azure Active directory app registration instead of user/password. How can we call Power BI rest API from a dataflow by using app registration?