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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.