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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. 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.