<?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: Can not update datasource through API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Can-not-update-datasource-through-API/m-p/783483#M20624</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/26630"&gt;@TexasBI&lt;/a&gt;&amp;nbsp;did you manage to solve the problem in the end?&lt;/P&gt;&lt;P&gt;Im struggling with the same issue. For some datasources my code works just fine, but in some cases it fails just like yours. I could use a hand.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Bence&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2019 11:18:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-09-04T11:18:02Z</dc:date>
    <item>
      <title>Can not update datasource through API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Can-not-update-datasource-through-API/m-p/677937#M19233</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have followed the documentation for updated a datasource in a spcefic group.&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/updatedatasourcesingroup#datasource" target="_blank"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/updatedatasourcesingroup#datasource&lt;/A&gt;&amp;nbsp;but i still get an error. My body is set up properly and I have checked the spelling of the database and server. All I want to do is change Azure SQL DBs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
	"updateDetails": [
    {
      "datasourceSelector": {
        "datasourceType": "Sql",
        "connectionDetails": {
          "server": "server1.database.windows.net",
          "database": "database1"
        }
      },
      "connectionDetails": {
        "server": "server2.database.windows.net",
        "database": "database2"
      }
    }
   ]
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
    "error": {
        "code": "InvalidRequest",
        "message": "Operation is not supported for selector #44"
    }
}&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Apr 2019 16:35:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Can-not-update-datasource-through-API/m-p/677937#M19233</guid>
      <dc:creator>TexasBI</dc:creator>
      <dc:date>2019-04-25T16:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can not update datasource through API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Can-not-update-datasource-through-API/m-p/783483#M20624</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/26630"&gt;@TexasBI&lt;/a&gt;&amp;nbsp;did you manage to solve the problem in the end?&lt;/P&gt;&lt;P&gt;Im struggling with the same issue. For some datasources my code works just fine, but in some cases it fails just like yours. I could use a hand.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Bence&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 11:18:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Can-not-update-datasource-through-API/m-p/783483#M20624</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-04T11:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can not update datasource through API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Can-not-update-datasource-through-API/m-p/783548#M20626</link>
      <description>&lt;P&gt;unfortunently no. I think we ended up re building the pbix file becasue we think it got corrupted.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 12:39:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Can-not-update-datasource-through-API/m-p/783548#M20626</guid>
      <dc:creator>TexasBI</dc:creator>
      <dc:date>2019-09-04T12:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can not update datasource through API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Can-not-update-datasource-through-API/m-p/783642#M20630</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/26630"&gt;@TexasBI&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please make sure that your data source doesn't have any of the points listed in the restriction ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 869px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/189943i71DFBFA21AF7838E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 14:05:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Can-not-update-datasource-through-API/m-p/783642#M20630</guid>
      <dc:creator>Jayendran</dc:creator>
      <dc:date>2019-09-04T14:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can not update datasource through API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Can-not-update-datasource-through-API/m-p/783647#M20631</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100012"&gt;@Jayendran&lt;/a&gt;&amp;nbsp; there are no restricitions.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 14:11:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Can-not-update-datasource-through-API/m-p/783647#M20631</guid>
      <dc:creator>TexasBI</dc:creator>
      <dc:date>2019-09-04T14:11:04Z</dc:date>
    </item>
  </channel>
</rss>

