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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors