<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Power BI REST API - Dataflows - Disable refresh schedule error in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-Dataflows-Disable-refresh-schedule-error/m-p/2124047#M32301</link>
    <description>&lt;P&gt;Workaround&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "value": {
    "enabled": false,
    "days": [
        "Sunday"
    ],
    "times": [
       "00:00"
   ],
   "localTimeZoneId": "UTC"
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Oct 2021 11:52:53 GMT</pubDate>
    <dc:creator>alex_chiraples</dc:creator>
    <dc:date>2021-10-08T11:52:53Z</dc:date>
    <item>
      <title>Power BI REST API - Dataflows - Disable refresh schedule error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-Dataflows-Disable-refresh-schedule-error/m-p/2121186#M32283</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The disable refresh schedule for dataflows REST API is throwing an error. Is there any other programmable workaround to disable the refresh schedule for a specific dataflow?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Request (replace $(workspaceId) and $(dataflowId) with the appropriate values):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;PATCH https://api.powerbi.com/v1.0/myorg/groups/$($workspaceId)/dataflows/$($dataflowId)/refreshSchedule&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Post body:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "value": {
    "enabled": false
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Response:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
    "error": {
        "code": "InvalidRequest",
        "message": "Refresh schedule time zone id is not valid"
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adding the&amp;nbsp;&lt;SPAN&gt;"localTimeZoneId"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"UTC" property will throw another error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
    "error": {
        "code": "",
        "message": "An error has occurred."
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reference to docs:&amp;nbsp;&lt;A title="Disable schedule example" href="https://docs.microsoft.com/en-us/rest/api/power-bi/dataflows/update-refresh-schedule#disable-schedule-example" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/dataflows/update-refresh-schedule#disable-schedule-example&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 09:41:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-Dataflows-Disable-refresh-schedule-error/m-p/2121186#M32283</guid>
      <dc:creator>alex_chiraples</dc:creator>
      <dc:date>2021-10-07T09:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI REST API - Dataflows - Disable refresh schedule error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-Dataflows-Disable-refresh-schedule-error/m-p/2124047#M32301</link>
      <description>&lt;P&gt;Workaround&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "value": {
    "enabled": false,
    "days": [
        "Sunday"
    ],
    "times": [
       "00:00"
   ],
   "localTimeZoneId": "UTC"
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 11:52:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-Dataflows-Disable-refresh-schedule-error/m-p/2124047#M32301</guid>
      <dc:creator>alex_chiraples</dc:creator>
      <dc:date>2021-10-08T11:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI REST API - Dataflows - Disable refresh schedule error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-Dataflows-Disable-refresh-schedule-error/m-p/2126155#M32309</link>
      <description>&lt;P&gt;Thanks for your sharing.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 05:18:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-Dataflows-Disable-refresh-schedule-error/m-p/2126155#M32309</guid>
      <dc:creator>V-lianl-msft</dc:creator>
      <dc:date>2021-10-11T05:18:54Z</dc:date>
    </item>
  </channel>
</rss>

