<?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 .NET SDK vs. Powershell vs. REST APIs for automation in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/NET-SDK-vs-Powershell-vs-REST-APIs-for-automation/m-p/931916#M13031</link>
    <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to automate these workflow from our back-end:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Create a workspace and assign the right users to it&lt;/P&gt;&lt;P&gt;2) Upload a .pbix file from a local location to Power BI server in the workspace that is created in the previous step (pro account is available)&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Feed the .pbix file with new data and refresh the report(s) / dashboard(s)&lt;/P&gt;&lt;P&gt;4) Publsih the report(s)/dashboard(s) as an app and get the link&lt;/P&gt;&lt;P&gt;5) Share the app link with my users (who can have access to the app)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I started looking at Rest APIs. The rest APIs does not support uploading from a local location :S&lt;/P&gt;&lt;P&gt;I switched to Powershell. Powershell can do steps 1, 2 and probably 3. But not the 4th (publishing as an app)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am thinking now to write the whole thing in C#??!! Would that make sense? I cannot find a proper documentation on .NET SDK for Power BI. Would the above steps compeletely covered in .NET SDK?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any comment and idea is highly welcome, as I'm still confused.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Feb 2020 14:46:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-02-13T14:46:06Z</dc:date>
    <item>
      <title>.NET SDK vs. Powershell vs. REST APIs for automation</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/NET-SDK-vs-Powershell-vs-REST-APIs-for-automation/m-p/931916#M13031</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to automate these workflow from our back-end:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Create a workspace and assign the right users to it&lt;/P&gt;&lt;P&gt;2) Upload a .pbix file from a local location to Power BI server in the workspace that is created in the previous step (pro account is available)&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Feed the .pbix file with new data and refresh the report(s) / dashboard(s)&lt;/P&gt;&lt;P&gt;4) Publsih the report(s)/dashboard(s) as an app and get the link&lt;/P&gt;&lt;P&gt;5) Share the app link with my users (who can have access to the app)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I started looking at Rest APIs. The rest APIs does not support uploading from a local location :S&lt;/P&gt;&lt;P&gt;I switched to Powershell. Powershell can do steps 1, 2 and probably 3. But not the 4th (publishing as an app)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am thinking now to write the whole thing in C#??!! Would that make sense? I cannot find a proper documentation on .NET SDK for Power BI. Would the above steps compeletely covered in .NET SDK?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any comment and idea is highly welcome, as I'm still confused.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 14:46:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/NET-SDK-vs-Powershell-vs-REST-APIs-for-automation/m-p/931916#M13031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-13T14:46:06Z</dc:date>
    </item>
  </channel>
</rss>

