<?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: How to publish pbix report using REST API 2.0? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/How-to-publish-pbix-report-using-REST-API-2-0/m-p/4631680#M60115</link>
    <description>&lt;P&gt;Please keep in mind that the new method is uploading the report into a holding area (Azure Blob storage) and not associating it to a workspace yet.&lt;/P&gt;</description>
    <pubDate>Mon, 31 Mar 2025 14:27:46 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2025-03-31T14:27:46Z</dc:date>
    <item>
      <title>How to publish pbix report using REST API 2.0?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-publish-pbix-report-using-REST-API-2-0/m-p/4631320#M60106</link>
      <description>&lt;P&gt;Hi Guys,&lt;BR /&gt;&lt;BR /&gt;when publishing to the workspace without folder I was using this API:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;@groupId = {{getGroups.response.body.$.value[0].id}}

POST https://api.powerbi.com/v1.0/myorg/groups/{{groupId}}/imports?datasetDisplayName={{fileDisplayName}}&amp;amp;nameConflict=CreateOrOverwrite
Authorization: Bearer {{$aadV2Token appOnly}}
Content-Type: multipart/form-data; boundary=MfnBoundry

--MfnBoundry
Content-Disposition: form-data; name="files"; filename="{{filename}}"
Content-Type: application/octet-stream

&amp;lt; ./{{filename}}
--MfnBoundry--&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now there is new a way of publish report using rest api 2.0:&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi-report/power-bi-reports/upload-power-bi-report" target="_self"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi-report/power-bi-reports/upload-power-bi-report&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am trying with:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;@groupId = {{getGroups.response.body.$.value[0].id}}

POST https://api.powerbi.com/v2.0/myorg/groups/{{groupId}}/PowerBIreports(path='/RES-255/Vncm')/Model.Upload
Authorization: Bearer {{$aadV2Token appOnly}}
Content-Type: multipart/form-data; boundary=MfnBoundry

--MfnBoundry
Content-Disposition: form-data; name="files"; filename="{{filename}}"
Content-Type: application/octet-stream

&amp;lt; ./{{filename}}
 --MfnBoundry--&lt;/LI-CODE&gt;&lt;P&gt;where RES-255 is my folder and "Vncm" is my report name.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;But I am getting 404 expection.&lt;BR /&gt;How to make this proper?&amp;nbsp;&lt;BR /&gt;Using Visual Studio Code and REST API extension.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Jacek&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 09:54:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-publish-pbix-report-using-REST-API-2-0/m-p/4631320#M60106</guid>
      <dc:creator>jaryszek</dc:creator>
      <dc:date>2025-03-31T09:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to publish pbix report using REST API 2.0?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-publish-pbix-report-using-REST-API-2-0/m-p/4631680#M60115</link>
      <description>&lt;P&gt;Please keep in mind that the new method is uploading the report into a holding area (Azure Blob storage) and not associating it to a workspace yet.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 14:27:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-publish-pbix-report-using-REST-API-2-0/m-p/4631680#M60115</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-03-31T14:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to publish pbix report using REST API 2.0?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-publish-pbix-report-using-REST-API-2-0/m-p/4631684#M60116</link>
      <description>&lt;P&gt;thanks!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 14:32:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-publish-pbix-report-using-REST-API-2-0/m-p/4631684#M60116</guid>
      <dc:creator>jaryszek</dc:creator>
      <dc:date>2025-03-31T14:32:06Z</dc:date>
    </item>
  </channel>
</rss>

