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

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

Reply
greeshma
Frequent Visitor

API Data with tokens to PowerBI

Hi Everyone

I have a API (Autodesk) that needs to connect to PowerBI and refresh frequently, but the API tokens will expire in 1hr.so i need to manually regenate the tokens and pull the data to PowerBI. 
Can anyone helpme how can i generate tokens dynamically and refresh the data.

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @greeshma 

 

Does the Autodesk provide an API for generating the token? If so, you can create another query with Web.Contents  in Power Query to get a token from that API. Then convert this query into a function. In your original query for querying data, you can invoke the function to get a token from the token API directly instead of providing a token string to it.

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Hi @v-jingzhang 
Autodesk didn't provide any API, i had created in postman but the tokens generated expires in 1hr.
Is there a way to solve this issue?? can you plz guide me

Thankyou

Helpful resources

Announcements
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.

Top Kudoed Authors