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
Anonymous
Not applicable

Figuring out a way to import data from API which generates session token each time URL is triggered

Hi All, Greetings,

 

I have a requirement to pull data from a API (JSON format). The API requires a session token each time we try to access. The Web connector throws error when we enter the credentials. So directly using the API link with credentials is not an option.  Is there a way where the session token can be dynamically stored to access the API link in Power BI?

 

Thanks in Advance

Shazia, @Anonymous 

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

 

Could you please share more detailed information about this issue? (e.g. snapshot, error message, configurations...) 

I find some links which are associated with the issue. Please refer to them if they can help you a little.

Call Power BI Rest API with Dynamic Access Token From Power BI Desktop |Power BI Rest API | Part Two - YouTube

Solved: Pull data from RESTful API with token authenticati... - Microsoft Power BI Community

How to get data from REST API (JSON) in Power BI? - Microsoft Power BI Community

Solved: Dynamic Authorization Token from Rest API leads to... - Microsoft Power BI Community

 

Hope that's what you were looking for.

Best Regards,

Yuna

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

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