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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.