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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

New Member

Get data from REST API in Power BI with automatically renewed access token

[Fixed using Python, question not relevant anymore]

Community Support
Community Support

Hi @CdeWinter 


It sounds like you need some help with the Automatically refresh token.


If you're using an Azure AD token for the embed for your organization scenario, you can refresh the access token automatically by setting an event hook in your embedding configuration parameters. 


Officials provide the content. You can view the link below for more details:


Refresh the access token in Power BI embedded analytics | Microsoft Learn



Nono Chen

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



I am not using as Azure AD token, and the link you sent shows something in Java whereas I am working in PowerBI. So I don't think it helps, unfortunately.



Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.