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

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.