<?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: Workspace Git sync API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Workspace-Git-sync-API/m-p/3560452#M45558</link>
    <description>&lt;P&gt;Yeah, that's the point&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp; - I don't see REST API function to sync workspace wih repo.&lt;/P&gt;&lt;P&gt;Without possibility to do it entire repo functioanlity from my perspective is missing core feature, which is deploying new versions of reports via automated CI/CD process.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Nov 2023 07:56:45 GMT</pubDate>
    <dc:creator>Okopolitan</dc:creator>
    <dc:date>2023-11-30T07:56:45Z</dc:date>
    <item>
      <title>Workspace Git sync API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Workspace-Git-sync-API/m-p/3542557#M45421</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking into Powershell/REST Api commands.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't find in any documentation info about how to sync Git branch to Workspace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I have:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Okopolitan_0-1700488017515.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/999327iCC41702F4E7E62D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Okopolitan_0-1700488017515.png" alt="Okopolitan_0-1700488017515.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;to apply latest develoepment from repo I need to manually click:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Okopolitan_1-1700488121700.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/999329i648D60D23703F624/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Okopolitan_1-1700488121700.png" alt="Okopolitan_1-1700488121700.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there PowerShell or REST API command to sync/Update all? I feel like this is last missing step to create proper CI/CD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated! Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 13:53:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Workspace-Git-sync-API/m-p/3542557#M45421</guid>
      <dc:creator>Okopolitan</dc:creator>
      <dc:date>2023-11-20T13:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Workspace Git sync API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Workspace-Git-sync-API/m-p/3555899#M45502</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/482623"&gt;@Okopolitan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I know, use REST API to intergate&amp;nbsp;&lt;SPAN class=""&gt;Git with Power BI. You can sync it by click on the "Update all".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;For reference:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/cicd/git-integration/git-get-started?tabs=commit-to-git" target="_self"&gt;Manage a workspace with Git&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;You can see all functions that Power BI REST API support by this link:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/482623"&gt;@Okopolitan&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 07:57:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Workspace-Git-sync-API/m-p/3555899#M45502</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-28T07:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Workspace Git sync API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Workspace-Git-sync-API/m-p/3560452#M45558</link>
      <description>&lt;P&gt;Yeah, that's the point&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp; - I don't see REST API function to sync workspace wih repo.&lt;/P&gt;&lt;P&gt;Without possibility to do it entire repo functioanlity from my perspective is missing core feature, which is deploying new versions of reports via automated CI/CD process.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 07:56:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Workspace-Git-sync-API/m-p/3560452#M45558</guid>
      <dc:creator>Okopolitan</dc:creator>
      <dc:date>2023-11-30T07:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Workspace Git sync API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Workspace-Git-sync-API/m-p/3694446#M49506</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/482623"&gt;@Okopolitan&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Happy to share that we've released a new set of Git REST APIs,&amp;nbsp;&lt;SPAN&gt;which empower you to automate&amp;nbsp;&lt;/SPAN&gt;processes such as connecting workspaces to Git repositories, committing changes made in the workspace or updating the workspace from the connected branch, and more.&lt;/P&gt;&lt;P&gt;We've also released a set of &lt;A href="https://github.com/microsoft/fabric-samples/tree/main/e2e-samples" target="_self"&gt;PowerShell samples&lt;/A&gt; to help you get started.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For further details and access to all the essential resources, please visit:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/cicd/git-integration/git-automation" target="_blank"&gt;Automate Git integration by using APIs and Azure DevOps - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 15:58:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Workspace-Git-sync-API/m-p/3694446#M49506</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-12T15:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Workspace Git sync API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Workspace-Git-sync-API/m-p/3715304#M49682</link>
      <description>&lt;P&gt;Is this available for PPU workspaces? The link is only for Fabric workspaces.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 21:29:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Workspace-Git-sync-API/m-p/3715304#M49682</guid>
      <dc:creator>Ecks</dc:creator>
      <dc:date>2024-02-21T21:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Workspace Git sync API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Workspace-Git-sync-API/m-p/3765780#M50454</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;Thanks for info!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I started to look into this, but scripts you linked are Fabric workspaces specific.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$global:baseUrl = "&amp;lt;Base URL&amp;gt;" # Replace with environment-specific base URL. For example: "&lt;A href="https://api.fabric.microsoft.com/v1" target="_blank"&gt;https://api.fabric.microsoft.com/v1&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;$global:resourceUrl = "&lt;A href="https://api.fabric.microsoft.com" target="_blank"&gt;https://api.fabric.microsoft.com&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;How those values should be setup for pure PowerBI Premium Workspace?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Later on I see:&lt;/P&gt;&lt;P&gt;$getWorkspacesUrl = "{0}/workspaces" -f $global:baseUrl&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I see that workspace in PowerBI workspace is called "groups" i.e.: &lt;A href="https://app.powerbi.com/groups/" target="_blank"&gt;https://app.powerbi.com/groups/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I understand it correctly that in order to refresh PBI Premium I need to register app as described here:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/fabric/articles/get-started/fabric-api-quickstart" target="_blank"&gt;https://learn.microsoft.com/en-us/rest/api/fabric/articles/get-started/fabric-api-quickstart&lt;/A&gt;&lt;/P&gt;&lt;P&gt;, put them under same subcriptions ID and it should work?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 09:18:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Workspace-Git-sync-API/m-p/3765780#M50454</guid>
      <dc:creator>Okopolitan</dc:creator>
      <dc:date>2024-03-15T09:18:43Z</dc:date>
    </item>
  </channel>
</rss>

