<?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 Automate report deployment in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Automate-report-deployment/m-p/315887#M9347</link>
    <description>&lt;P&gt;DevOps will &lt;STRONG&gt;not&lt;/STRONG&gt; allow&amp;nbsp;publishing reports to production environment by using manual Power BI Desktop publishing.&lt;/P&gt;&lt;P&gt;DevOps will &lt;STRONG&gt;not&lt;/STRONG&gt; allow me to connect to the production database to get my connection string right&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attempting to do the following via PowerShell script (PowerBIPS) and REST:&lt;/P&gt;&lt;P&gt;1. Create new datasource on gateway&lt;/P&gt;&lt;P&gt;2. Import .pbix to AppWorkspace&lt;/P&gt;&lt;P&gt;3. Change dataset connection string to redirect from dev server to production server (connection string server and database name need to match the server and database name configured in datasource)&lt;/P&gt;&lt;P&gt;4. Reset dataset gateway binding&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This doesn't work for import datasets... gives the error &lt;STRONG&gt;"Invalid dataset. This API can only be called on a DirectQuery dataset".&lt;/STRONG&gt; The Power BI Embedding story really needs to support the enterprise deployment story better.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Dec 2017 22:12:00 GMT</pubDate>
    <dc:creator>trevorgermain</dc:creator>
    <dc:date>2017-12-01T22:12:00Z</dc:date>
    <item>
      <title>Automate report deployment</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Automate-report-deployment/m-p/315887#M9347</link>
      <description>&lt;P&gt;DevOps will &lt;STRONG&gt;not&lt;/STRONG&gt; allow&amp;nbsp;publishing reports to production environment by using manual Power BI Desktop publishing.&lt;/P&gt;&lt;P&gt;DevOps will &lt;STRONG&gt;not&lt;/STRONG&gt; allow me to connect to the production database to get my connection string right&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attempting to do the following via PowerShell script (PowerBIPS) and REST:&lt;/P&gt;&lt;P&gt;1. Create new datasource on gateway&lt;/P&gt;&lt;P&gt;2. Import .pbix to AppWorkspace&lt;/P&gt;&lt;P&gt;3. Change dataset connection string to redirect from dev server to production server (connection string server and database name need to match the server and database name configured in datasource)&lt;/P&gt;&lt;P&gt;4. Reset dataset gateway binding&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This doesn't work for import datasets... gives the error &lt;STRONG&gt;"Invalid dataset. This API can only be called on a DirectQuery dataset".&lt;/STRONG&gt; The Power BI Embedding story really needs to support the enterprise deployment story better.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2017 22:12:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Automate-report-deployment/m-p/315887#M9347</guid>
      <dc:creator>trevorgermain</dc:creator>
      <dc:date>2017-12-01T22:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Automate report deployment</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Automate-report-deployment/m-p/316275#M9358</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/19717"&gt;@trevorgermain&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;DevOps will &lt;STRONG&gt;not&lt;/STRONG&gt; allow&amp;nbsp;publishing reports to production environment by using manual Power BI Desktop publishing.&lt;/P&gt;
&lt;P&gt;DevOps will &lt;STRONG&gt;not&lt;/STRONG&gt; allow me to connect to the production database to get my connection string right&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am attempting to do the following via PowerShell script (PowerBIPS) and REST:&lt;/P&gt;
&lt;P&gt;1. Create new datasource on gateway&lt;/P&gt;
&lt;P&gt;2. Import .pbix to AppWorkspace&lt;/P&gt;
&lt;P&gt;3. Change dataset connection string to redirect from dev server to production server (connection string server and database name need to match the server and database name configured in datasource)&lt;/P&gt;
&lt;P&gt;4. Reset dataset gateway binding&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This doesn't work for import datasets... gives the error &lt;STRONG&gt;"Invalid dataset. This API can only be called on a DirectQuery dataset".&lt;/STRONG&gt; The Power BI Embedding story really needs to support the enterprise deployment story better.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/19717"&gt;@trevorgermain&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;The update connection string API&amp;nbsp;&lt;A href="https://msdn.microsoft.com/en-US/library/mt748181.aspx" target="_self"&gt;Set All Connections&lt;/A&gt;&amp;nbsp;only supports&amp;nbsp;&lt;SPAN&gt;DirectQuery datasets.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My question is, why&amp;nbsp;&lt;STRONG&gt;not&lt;/STRONG&gt;&amp;nbsp;allow me to connect to the production database? As in your steps, the step 1 and 3 both need the pro duction connection string and crendentials to implement.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 05:55:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Automate-report-deployment/m-p/316275#M9358</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-12-04T05:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Automate report deployment</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Automate-report-deployment/m-p/316744#M9378</link>
      <description>&lt;P&gt;We are a SaaS organization, and are embedding Power BI. The production database is a multi-tenant data warehouse with highly confidential data in it. It would be a&amp;nbsp;common use case to work on a development environment, then deploy to a production environment. It will &lt;STRONG&gt;never&lt;/STRONG&gt; be ok to do development directly against the production database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The connection information is pulled from a secure source during deployment, so as a dev, I never have access to the production connection details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why would it be ok to modify DirectQuery connection string, but not Import mode connection string via Set All Connections?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 15:57:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Automate-report-deployment/m-p/316744#M9378</guid>
      <dc:creator>trevorgermain</dc:creator>
      <dc:date>2017-12-04T15:57:24Z</dc:date>
    </item>
  </channel>
</rss>

