<?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: Publish report issue with power automate in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Publish-report-issue-with-power-automate/m-p/4889393#M63974</link>
    <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;Can you elaborate a bit more ?&lt;BR /&gt;I have set the Power BI connector, but there is no action to import a report:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;BR /&gt;Théo&lt;/P&gt;</description>
    <pubDate>Mon, 01 Dec 2025 07:36:32 GMT</pubDate>
    <dc:creator>Theo_MS</dc:creator>
    <dc:date>2025-12-01T07:36:32Z</dc:date>
    <item>
      <title>Publish report issue with power automate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Publish-report-issue-with-power-automate/m-p/4887810#M63951</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am having issue to publish a report throw a power automate.&lt;/P&gt;&lt;P&gt;The purpose of this flow is for a public user to report (via the main service account) on a Fabric workspace via API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Fabric space has a Fabric licence and the main service account is a contributor.&lt;/P&gt;&lt;P&gt;The main service account has the correct rights on the app registration (Power BI Service → Dataset.ReadWrite.All and Report.ReadWrite.All).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The flow is configured in four parts.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Part 1&lt;/P&gt;&lt;P&gt;Manually trigger a flow to drop the pbix file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Part 2&lt;/P&gt;&lt;P&gt;HTTP - POST - Retrieve the authorisation token&lt;/P&gt;&lt;P&gt;with Azure authentication, app registration.&lt;/P&gt;&lt;P&gt;+ Set access token.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Part 3&lt;/P&gt;&lt;P&gt;HTTP - POST - Publish the report&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;‘uri’: ‘&lt;A href="https://api.powerbi.com/v1.0/myorg/groups/{MyWorkspaceID}/imports?datasetDisplayName=@{triggerBody()?[“" target="_blank"&gt;https://api.powerbi.com/v1.0/myorg/groups/{MyWorkspaceID}/imports?datasetDisplayName=@{triggerBody()?[“&lt;/A&gt;file”]?[“name”]}&amp;amp;nameConflict=CreateOrOverwrite’&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;‘headers’: {&lt;/P&gt;&lt;P&gt;‘Content-Type’: ‘application/octet-stream’,&lt;/P&gt;&lt;P&gt;‘Authorisation’: ‘@{variables(“access_token”)}’&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;‘body’: ‘@{base64ToBinary(triggerBody()?[“file”]?[“contentBytes”])} ’&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Part 4&lt;/P&gt;&lt;P&gt;Creating a log entry in a SharePoint list&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An error occurs in part 3&lt;/P&gt;&lt;P&gt;{‘code’:‘BadRequestException’,“message”:‘The request was denied, it contains illegal input: “”’}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I reproduce the flow on C# and it works.&lt;BR /&gt;Why cause this issue ? and how to push the report without issue ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Théo&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;</description>
      <pubDate>Thu, 27 Nov 2025 15:43:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Publish-report-issue-with-power-automate/m-p/4887810#M63951</guid>
      <dc:creator>Theo_MS</dc:creator>
      <dc:date>2025-11-27T15:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Publish report issue with power automate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Publish-report-issue-with-power-automate/m-p/4887900#M63955</link>
      <description>&lt;P&gt;You will need to create and use a custom connector for the Power BI REST API calls. It is not possible to authenticate the way you are attempting to.&amp;nbsp; The custom connector will handle the authentication for you.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 18:16:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Publish-report-issue-with-power-automate/m-p/4887900#M63955</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-11-27T18:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Publish report issue with power automate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Publish-report-issue-with-power-automate/m-p/4889393#M63974</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;Can you elaborate a bit more ?&lt;BR /&gt;I have set the Power BI connector, but there is no action to import a report:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;BR /&gt;Théo&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 07:36:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Publish-report-issue-with-power-automate/m-p/4889393#M63974</guid>
      <dc:creator>Theo_MS</dc:creator>
      <dc:date>2025-12-01T07:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Publish report issue with power automate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Publish-report-issue-with-power-automate/m-p/4889966#M63981</link>
      <description>&lt;P&gt;&lt;SPAN&gt;You will need to &lt;STRONG&gt;create&lt;/STRONG&gt; and use a &lt;STRONG&gt;custom&lt;/STRONG&gt; connector for the Power BI REST API calls.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/connectors/custom-connectors/" target="_blank"&gt;Custom connectors overview | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 19:47:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Publish-report-issue-with-power-automate/m-p/4889966#M63981</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-12-01T19:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Publish report issue with power automate</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Publish-report-issue-with-power-automate/m-p/4890480#M63994</link>
      <description>&lt;P&gt;Here's the solution based on this article&amp;nbsp;&lt;A href="https://joelleichty.com/2022/09/25/use-power-automate-http-connector-to-publish-pbix-file-using-the-power-bi-api/" target="_blank"&gt;Use Power Automate HTTP Connector to Publish .pbix File Using the Power BI API – Joel Leichty&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The HTTP step need the authentification by Active Directory OAuth.&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;PRE&gt;{&lt;BR /&gt;"$content-type": "multipart/form-data",&lt;BR /&gt;"$multipart": [&lt;BR /&gt;{&lt;BR /&gt;"headers": {&lt;BR /&gt;"Content-Disposition": "form-data; name=\"Rapport\"; filename=\"Rapport.pbix\""&lt;BR /&gt;},&lt;BR /&gt;"body": @{base64ToBinary(triggerBody()?['file']?['contentBytes'])}&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;/PRE&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 08:45:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Publish-report-issue-with-power-automate/m-p/4890480#M63994</guid>
      <dc:creator>Theo_MS</dc:creator>
      <dc:date>2025-12-02T08:45:29Z</dc:date>
    </item>
  </channel>
</rss>

