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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Josef_A
Frequent Visitor

Refresh Power Bi dataset based on API call

Looking for a simpler way to refresh the dataset than creating a service principal and granting it permissions & access, since our organizations has a lot of restrictions. 
So when data is loaded into DWH I can add POST request, to PowerBI service that refreshes the dataset. Is this possible?

BR
/Joe 


5 REPLIES 5
Anonymous
Not applicable

Hi @Josef_A ,

 

Thank you for your replies @Ashish_Goel_  @NandanHegde  @SaiTejaTalasila !

 

Were these two answers helpful to you in the latest replies?

 

Please accept the responses that address your questions as solutions, it will be a great help to others who have the same questions as you.

 

If you have any further questions, please feel free to contact me.

 

Best Regards,
Yang
Community Support Team

Ashish_Goel_
Frequent Visitor

Hi Josef,

You can use power automate to refresh the dataset. You can visit the link below:

https://ashishcoder.com/courses/power-bi/power-bi-service/refresh-power-bi-dataset-using-power-autom...

Thanks,
Ashish

SaiTejaTalasila
Super User
Super User

Hi @Josef_A ,

 

You can use power automate.If you were able to generate a email once your ETL is completed on DW then you will able to achieve it.

 

Even you can use ADF pipeline.

 

 

I hope it will be helpful.

 

Thanks,

Sai Teja 

 

 

 

 

 

Thanks,

Sai Teja 

 

NandanHegde
Super User
Super User

There is no need of Service principal, as long as you can leverage managed identity of the Azure offerings.

The below blog provides details to trigger Power BI refersh via ADF through managed identity:

https://datasharkx.wordpress.com/2022/11/05/refresh-power-bi-dataflow-dataset-from-azure-data-factor...

 

when you say DWH, is it Azure Synapse or normal database you terming as warehouse?

In case if it is Azure SQL database, you can trigger based on the below flow of Azure SQL DB<> API integration :

https://datasharkx.wordpress.com/2022/11/29/event-trigger-power-bi-dataset-dataflow-refresh-via-azur...

 




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

Hi Sir, 
Appreciate you taking the time to answer. In the first provided link however actually, he is using a service principal. Regardsless I'm searching for something much simpler. Like a simple API call that sends a POST to PBI with some authentication, and that's it. No assigning access rights for some service that then needs to be admin in workspace and what not. 

We are using Oracle autonomous database as datawarehouse (DWH). I really wan't to just skip this and use automatic refresh, but I need the logic to be in place so it's easier managing loading of multiple semantic models in the future. 

We got it to work with a powershell script, one possibility could be to trigger that powershell script, after data has been loaded? Using a Oracle Data Integrator.. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.