<?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 UpdateDatasource: Operation is not supported for selector #2 for SQL Server in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-UpdateDatasource-Operation-is-not-supported/m-p/1051610#M23352</link>
    <description>&lt;P&gt;We are not chaning Datasource type.&lt;/P&gt;&lt;P&gt;We want to change Server Name, Database name, user name and password. &lt;STRONG&gt;Is it mean that changing username and password (connection string paremeter) is not supported?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using import data not direct query over Azure SQL so we are not using any joins or merge.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;</description>
    <pubDate>Mon, 27 Apr 2020 17:38:24 GMT</pubDate>
    <dc:creator>MaheshMole</dc:creator>
    <dc:date>2020-04-27T17:38:24Z</dc:date>
    <item>
      <title>Power BI REST API UpdateDatasource: Operation is not supported for selector #2 for SQL Server</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-UpdateDatasource-Operation-is-not-supported/m-p/1048522#M23321</link>
      <description>&lt;P&gt;&lt;STRONG&gt;URL&lt;/STRONG&gt;:&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://api.powerbi.com/v1.0/myorg/groups/{workspaceId}/datasets/{datasetId}/Default.UpdateDatasources" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/groups/{workspaceId}/datasets/{datasetId}/Default.UpdateDatasources&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Post Request body:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{"updateDetails":[
                {
                    "datasourceSelector": {
                        "datasourceType": "Sql",
                        "connectionDetails": {
                            "server": "oldSqlServer.database.windows.net",
                            "database": "oldDatabase"
                        }
                    },
                   
                    "connectionDetails": {
                          "server": "newSqlServer.database.windows.net",
                          "database": "newDatabase"
                    }
                }
            ]}&lt;/LI-CODE&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;P&gt;gives error :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    "error": {
        "code": "InvalidRequest",
        "message": "Operation is not supported for selector #2"
    }
}&lt;/LI-CODE&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;P&gt;The same type of request for&amp;nbsp;AnalysisServices datasource works but fails for SQL server. The server and database is correct. We tried updating with same value as well and then also it fails. The same values update works for AnalysisServices datasource.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We found same type of issue &lt;A href="https://community.powerbi.com/t5/Developer/quot-Operation-is-not-supported-for-selector-quot-when-using/m-p/372441" target="_blank" rel="noopener"&gt;https://community.powerbi.com/t5/Developer/quot-Operation-is-not-supported-for-selector-quot-when-using/m-p/372441&lt;/A&gt;&amp;nbsp;in community forum but there is no specific solution.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Apr 2020 18:01:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-UpdateDatasource-Operation-is-not-supported/m-p/1048522#M23321</guid>
      <dc:creator>MaheshMole</dc:creator>
      <dc:date>2020-04-25T18:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI REST API UpdateDatasource: Operation is not supported for selector #2 for SQL Server</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-UpdateDatasource-Operation-is-not-supported/m-p/1050630#M23339</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/182823"&gt;@MaheshMole&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Can you please &lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/updatedatasourcesingroup" target="_blank" rel="noopener"&gt;verify the below restriction&amp;nbsp;&lt;/A&gt;&lt;/P&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;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: 954px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/261190i40E9155C1515B19F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 11:07:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-UpdateDatasource-Operation-is-not-supported/m-p/1050630#M23339</guid>
      <dc:creator>Jayendran</dc:creator>
      <dc:date>2020-04-27T11:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI REST API UpdateDatasource: Operation is not supported for selector #2 for SQL Server</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-UpdateDatasource-Operation-is-not-supported/m-p/1051610#M23352</link>
      <description>&lt;P&gt;We are not chaning Datasource type.&lt;/P&gt;&lt;P&gt;We want to change Server Name, Database name, user name and password. &lt;STRONG&gt;Is it mean that changing username and password (connection string paremeter) is not supported?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using import data not direct query over Azure SQL so we are not using any joins or merge.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 17:38:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-UpdateDatasource-Operation-is-not-supported/m-p/1051610#M23352</guid>
      <dc:creator>MaheshMole</dc:creator>
      <dc:date>2020-04-27T17:38:24Z</dc:date>
    </item>
  </channel>
</rss>

