<?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 Pipelines - Selective Deploy Dataflow in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Pipelines-Selective-Deploy-Dataflow/m-p/2781176#M38754</link>
    <description>&lt;P&gt;Hello to all,&lt;/P&gt;&lt;P&gt;I would like to automate the deployment of dataflow&lt;/P&gt;&lt;P&gt;I used this PowerShell script :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$body = @{ 
    sourceStageOrder = 0 # The order of the source stage. Development (0), Test (1).   
    dataflow = @(
        @{sourceId = "756ff4b7-90eb-4d5e-a47b-b112b8eee977" }
    )         

    options = @{
        # Allows creating new item if needed on the Test stage workspace
        allowCreateArtifact = $TRUE

        # Allows overwriting existing item if needed on the Test stage workspace
        allowOverwriteArtifact = $TRUE
    }
}

Invoke-PowerBIRestMethod -Url "https://api.powerbi.com/v1.0/myorg/pipelines/695dde4d-c7ee-493a-a86b-34f964e38048/deploy"  -Method Post -Body $body&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I have this error :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Charline74_0-1663686023817.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/787315i817F8DE314EF8138/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Charline74_0-1663686023817.png" alt="Charline74_0-1663686023817.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does anyone have a solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cha&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2022 15:00:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-09-20T15:00:57Z</dc:date>
    <item>
      <title>Pipelines - Selective Deploy Dataflow</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Pipelines-Selective-Deploy-Dataflow/m-p/2781176#M38754</link>
      <description>&lt;P&gt;Hello to all,&lt;/P&gt;&lt;P&gt;I would like to automate the deployment of dataflow&lt;/P&gt;&lt;P&gt;I used this PowerShell script :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$body = @{ 
    sourceStageOrder = 0 # The order of the source stage. Development (0), Test (1).   
    dataflow = @(
        @{sourceId = "756ff4b7-90eb-4d5e-a47b-b112b8eee977" }
    )         

    options = @{
        # Allows creating new item if needed on the Test stage workspace
        allowCreateArtifact = $TRUE

        # Allows overwriting existing item if needed on the Test stage workspace
        allowOverwriteArtifact = $TRUE
    }
}

Invoke-PowerBIRestMethod -Url "https://api.powerbi.com/v1.0/myorg/pipelines/695dde4d-c7ee-493a-a86b-34f964e38048/deploy"  -Method Post -Body $body&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I have this error :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Charline74_0-1663686023817.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/787315i817F8DE314EF8138/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Charline74_0-1663686023817.png" alt="Charline74_0-1663686023817.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does anyone have a solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cha&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 15:00:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Pipelines-Selective-Deploy-Dataflow/m-p/2781176#M38754</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-20T15:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pipelines - Selective Deploy Dataflow</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Pipelines-Selective-Deploy-Dataflow/m-p/2783479#M38777</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here I suggest you to refer to below offical blog to learn more details.&lt;/P&gt;
&lt;P&gt;For reference:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-bi/create-reports/deployment-pipelines-get-started" target="_blank"&gt;https://learn.microsoft.com/en-us/power-bi/create-reports/deployment-pipelines-get-started&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 09:55:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Pipelines-Selective-Deploy-Dataflow/m-p/2783479#M38777</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-21T09:55:29Z</dc:date>
    </item>
  </channel>
</rss>

