Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
innocence84
Helper I
Helper I

Generating Authorization: Bearer token for calling Power BI Rest API

Hi,

 

When I  called a Power BI Rest API via the try it page in the web site (https://learn.microsoft.com/en-us/rest/api/power-bi/admin/datasets-get-datasets-as-admin ),
Microsoft is generating a token that starts with: 

Authorization: Bearer ey...

 I need to call Power BI Rest APIs from a dataset/dataflow. For that reason I need to generate Authorization: Bearer token. 
Which API should I call for generating this token?

Thanks

 
2 REPLIES 2
Anonymous
Not applicable

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?

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.