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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Power BI REST API cannot disable direct query refresh schedule

HI,

 

I'm using Power BI REST API with some DirectQuery/LiveConnection reports. I want to automate the cache scheduling options, and when i tried the provided example on how to disable direct query refresh schedule, the response from

PATCH https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/directQueryRefreshSchedule  is

Bad request, Value cannot be null.

 

Setting frequency/days/times works. Disable from portal works too, but is not an option for me

 

Status: New
Comments
v-chuncz-msft
Community Support

@PeterPetkov 

 

The page doesn't list any name related to this. You may share feedback via Ideas to help improve Power BI.