cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
kalyani_bang
Frequent Visitor

Stop refresh activity during deployment and then start automatically

When the refresh activity is going on at the same time of deployment in service then what are the ways to stop the refresh activity and it should continue after deployment automatically.

@Data refresh @schedule refresh @incremental refresh

2 REPLIES 2
tackytechtom
Super User
Super User

Hi @kalyani_bang ,

 

If you are triggering the refresh with the enhanced refreshes API you can programmatically cancel that refresh with ths call:

Datasets - Cancel Refresh In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

For the refresh to cancel, you first need to get the respective RefreshID, whch you could fetch from this one here:

Datasets - Get Refresh History In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

After your deployment you can trigger a new refresh with this operation:

Datasets - Refresh Dataset In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

Let me know if this helps 🙂

 

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi @tackytechtom , thanks for the reply. But with this, how we can stop the refresh for all the datasets in just a click and then after the deployment gets over, refresh for all datasets continue by just clicking the button?

Also what is the difference between doing this and switching off the schedule refresh till the time deployment is over?

 

 

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors