<?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 Problem with API method &amp;quot;Update Datasources&amp;quot; in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Problem-with-API-method-quot-Update-Datasources-quot/m-p/944982#M22458</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I've been trying to use an API method from a Powershell script for a while now, the methos is Datasource/Update &lt;SPAN&gt;datasets/{datasetId}/Default.UpdateDatasources&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Usually it doesn't work, but sometimes it does.&lt;BR /&gt;I basically want to change the Datasource credentials: Server, DB, user &amp;amp; password. The authentication type is "Basic", this doesn't change although I tried to send it in the request as well.&lt;/P&gt;&lt;P&gt;The problem is that the answer from the API is always 200 (as if it had gone ok) but most of the times (not all, sometimes it works fine) in the Powerbi portal I see that the Server and DB data have been changed but not the user &amp;amp; password and also the type of authentication seems to be in "Windows".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The connection is both in Azure SQL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has it happened to anyone? It's quite strange...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Feb 2020 11:12:25 GMT</pubDate>
    <dc:creator>spyrefused</dc:creator>
    <dc:date>2020-02-24T11:12:25Z</dc:date>
    <item>
      <title>Problem with API method "Update Datasources"</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-with-API-method-quot-Update-Datasources-quot/m-p/944982#M22458</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I've been trying to use an API method from a Powershell script for a while now, the methos is Datasource/Update &lt;SPAN&gt;datasets/{datasetId}/Default.UpdateDatasources&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Usually it doesn't work, but sometimes it does.&lt;BR /&gt;I basically want to change the Datasource credentials: Server, DB, user &amp;amp; password. The authentication type is "Basic", this doesn't change although I tried to send it in the request as well.&lt;/P&gt;&lt;P&gt;The problem is that the answer from the API is always 200 (as if it had gone ok) but most of the times (not all, sometimes it works fine) in the Powerbi portal I see that the Server and DB data have been changed but not the user &amp;amp; password and also the type of authentication seems to be in "Windows".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The connection is both in Azure SQL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has it happened to anyone? It's quite strange...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 11:12:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-with-API-method-quot-Update-Datasources-quot/m-p/944982#M22458</guid>
      <dc:creator>spyrefused</dc:creator>
      <dc:date>2020-02-24T11:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with API method "Update Datasources"</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Problem-with-API-method-quot-Update-Datasources-quot/m-p/955325#M22550</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/48805"&gt;@spyrefused&lt;/a&gt;&amp;nbsp;Can you post a sample JSON with the request body?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 13:49:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Problem-with-API-method-quot-Update-Datasources-quot/m-p/955325#M22550</guid>
      <dc:creator>JirkaZ</dc:creator>
      <dc:date>2020-03-02T13:49:00Z</dc:date>
    </item>
  </channel>
</rss>

