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
mcaraballo
Advocate III
Advocate III

Not able to import data from PowerBI Service dynamically

Hi All!

I want to import data from the Power BI service (for example, a list of the different workspace names, a list of reports in a specific workspace, etc). 

 

As an example, I use this API (Reports - Get Reports In Group - REST API (Power BI Power BI REST APIs) | Microsoft Docs) to obtain a list of reports in a specific workspace. I click on the "Try it" button, I sign in, enter the group id and hit the run button. Everything works fine, but the problem is that the token expires after one or two hours.

Is there a way to obtain a dynamic token? Does anyone know if there is a workaround in order to use these APIs ?

 

Thanks in advance!

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

This custom connector uses AAD auth and can successfully refresh on  the service.

 

GitHub - migueesc123/PowerBIRESTAPI: A Microsoft Power BI Data Connector or Power Query Connector fo...

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

This custom connector uses AAD auth and can successfully refresh on  the service.

 

GitHub - migueesc123/PowerBIRESTAPI: A Microsoft Power BI Data Connector or Power Query Connector fo...

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors