<?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 Powershell to update datasource URL's in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Powershell-to-update-datasource-URL-s/m-p/783586#M20628</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a automated deployment system that deploys&amp;nbsp; PowerBI reports to a new workspace. This is all working fine but the issue i am having is updating the datasource with a new URL to get their information from. These are all SharePoint List data sources that need to be updated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the&amp;nbsp;Invoke-PowerBIRestMethod&amp;nbsp; to sucessfull get the data sources within a report and I can manipulate the return to change the URL but when sending the update back i just get an error.&lt;/P&gt;&lt;P&gt;No information is given with the error it just doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have a working example of updatiung a datasource with powershell?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have seen this thread but it doesn't have a solution&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Developer/Power-BI-REST-API-via-Powershell-Create-Datasource/td-p/511934" target="_blank" rel="noopener"&gt;https://community.powerbi.com/t5/Developer/Power-BI-REST-API-via-Powershell-Create-Datasource/td-p/511934&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2019 13:15:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-09-04T13:15:50Z</dc:date>
    <item>
      <title>Powershell to update datasource URL's</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Powershell-to-update-datasource-URL-s/m-p/783586#M20628</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a automated deployment system that deploys&amp;nbsp; PowerBI reports to a new workspace. This is all working fine but the issue i am having is updating the datasource with a new URL to get their information from. These are all SharePoint List data sources that need to be updated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the&amp;nbsp;Invoke-PowerBIRestMethod&amp;nbsp; to sucessfull get the data sources within a report and I can manipulate the return to change the URL but when sending the update back i just get an error.&lt;/P&gt;&lt;P&gt;No information is given with the error it just doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have a working example of updatiung a datasource with powershell?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have seen this thread but it doesn't have a solution&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Developer/Power-BI-REST-API-via-Powershell-Create-Datasource/td-p/511934" target="_blank" rel="noopener"&gt;https://community.powerbi.com/t5/Developer/Power-BI-REST-API-via-Powershell-Create-Datasource/td-p/511934&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 13:15:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Powershell-to-update-datasource-URL-s/m-p/783586#M20628</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-04T13:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell to update datasource URL's</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Powershell-to-update-datasource-URL-s/m-p/784196#M20642</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to find the error using&amp;nbsp;&lt;STRONG&gt;Resolve-PowerBIError &lt;/STRONG&gt;cmdlet or fiddler to capture the API error directly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just giving as the reference, to my artilce where you can find the some informations on the powershell scripts&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/PowerBI-CICD-using-Azure-DevOps/ba-p/769244" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/PowerBI-CICD-using-Azure-DevOps/ba-p/769244&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 05:19:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Powershell-to-update-datasource-URL-s/m-p/784196#M20642</guid>
      <dc:creator>Jayendran</dc:creator>
      <dc:date>2019-09-05T05:19:31Z</dc:date>
    </item>
  </channel>
</rss>

