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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Power BI Rest API's as a data source in Power BI report - How to get Dynamic Token ?

Hello there, I am trying to use the Power BI Rest API's as a data source in Power BI report for getting some Refresh's data and Scheduled Refreshes  on our workspaces etc.., With the help of  a friedn from Power BI Community (v-lid-msft) I am able to import this information and works in Service as well. However we need to update the Token in the service before every refresh.

 

I am looking for a way where can can Dynamically get the Token based on the Org account. I saw from the below url by default Microsoft is giving the token based on my login is there a way to import this into Power BI and capture the Token. Look for Request Preview Section in the below url, this will have the token, after sigining into the Org account.

https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getrefreshhistoryingroup#code-try-0

 

 

Our original Post to get the Failure Refreshes data from Power BI Service.

https://community.powerbi.com/t5/Service/PowerBI-Service-List-of-Power-BI-Reports-Data-set-s-with-Fa...

 

Thanks for your time,

 

Regards,

Pkasa

1 REPLY 1
v-joesh-msft
Solution Sage
Solution Sage

Hi @Anonymous ,

After my research, I'm afraid it couldn't achieve in Power BI for now. For your requirement,you can come up with a new idea and add your comments there to make this feature coming sooner. 

Best Regards,

Community Support Team _ Joey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.