<?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: Unknown Error when calling the initializeConnection Fabric Git API endpoint with a service princ in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4712637#M61502</link>
    <description>&lt;P&gt;I am still working through things with Microsoft support.&lt;/P&gt;</description>
    <pubDate>Thu, 29 May 2025 15:04:56 GMT</pubDate>
    <dc:creator>ckingdon_bee</dc:creator>
    <dc:date>2025-05-29T15:04:56Z</dc:date>
    <item>
      <title>Unknown Error when calling the initializeConnection Fabric Git API endpoint with a service principal</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4635635#M60178</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am experiencing an issue when following the documentation here:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/fabric/cicd/git-integration/git-automation?tabs=service-principal%2CADO" target="_self"&gt;https://learn.microsoft.com/en-us/fabric/cicd/git-integration/git-automation?tabs=service-principal%2CADO&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I copied the exact powershell script from the example repo and locally it works just using my own personal user account. However, when I try to run the script with a service principal it fails. It's able to disconnect and connect the workspace from Git but when it gets to the&amp;nbsp;initializeConnection call it fails with ErrorCode: UnknownError and Message: "The request could not be processed due to an error".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I should note that I am connecting the workspace to GitHub which according to that page should support service principals. Additionally I have tried running this in a GitHub actions workflow with the same error. Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 19:34:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4635635#M60178</guid>
      <dc:creator>ckingdon_bee</dc:creator>
      <dc:date>2025-04-02T19:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error when calling the initializeConnection Fabric Git API endpoint with a service princ</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4636080#M60184</link>
      <description>&lt;P&gt;Try adding the SPN as a contributor or admin in the required workspaces&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 06:10:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4636080#M60184</guid>
      <dc:creator>Deku</dc:creator>
      <dc:date>2025-04-03T06:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error when calling the initializeConnection Fabric Git API endpoint with a service princ</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4636319#M60188</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1237871"&gt;@ckingdon_bee&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1231947"&gt;@Deku&lt;/a&gt;, Thank you for the prompt response. Adding to what&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1231947"&gt;@Deku&lt;/a&gt;,&amp;nbsp;mentioned,&amp;nbsp;you can also try below steps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The service principal needs the same permissions as a user. Make sure it has at least "Contributor" access in Fabric and the correct permissions in GitHub.&lt;/LI&gt;
&lt;LI&gt;If you’re using an Azure AD app, confirm that it has the right API permissions for Microsoft Fabric (Power BI API) and GitHub.&lt;/LI&gt;
&lt;LI&gt;Run the script with -Verbose or -Debug in PowerShell to get more details on what is failing.&lt;/LI&gt;
&lt;LI&gt;you can also try making a direct API request (using Invoke-RestMethod in PowerShell or Postman) to see if initializeConnection works at all.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If this post&amp;nbsp;helps, then please consider&amp;nbsp;Accepting as solution&amp;nbsp;to help the other members find it more quickly,&amp;nbsp;don't forget to give a&amp;nbsp;"Kudos"&amp;nbsp;– I’d truly appreciate it!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 08:38:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4636319#M60188</guid>
      <dc:creator>v-saisrao-msft</dc:creator>
      <dc:date>2025-04-03T08:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error when calling the initializeConnection Fabric Git API endpoint with a service princ</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4636813#M60198</link>
      <description>&lt;P&gt;Yes I did make sure that the SPN is an admin in the workspace. I know that permission is good since I am able to call the connect/disconnect endpoints which require admin permissions in the workspace.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 12:58:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4636813#M60198</guid>
      <dc:creator>ckingdon_bee</dc:creator>
      <dc:date>2025-04-03T12:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error when calling the initializeConnection Fabric Git API endpoint with a service princ</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4636825#M60200</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;1. Yes the service principal has admin permissions on the workspace.&amp;nbsp; I know that permission is good since I am able to call the connect/disconnect endpoints which require admin permissions in the workspace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. It is an Azure Entra App Registration. Currently it has the the following delegated permissions:&lt;/P&gt;&lt;P&gt;- Workspace.GitCommit.All&lt;/P&gt;&lt;P&gt;- Workspace.GitUpdate.All&lt;/P&gt;&lt;P&gt;- Workspace.ReadWrite.All&lt;/P&gt;&lt;P&gt;Additionally in the GitHub action I have the following:&lt;/P&gt;&lt;P&gt;permissions:&lt;/P&gt;&lt;P&gt;&amp;nbsp; id-token: write&lt;/P&gt;&lt;P&gt;&amp;nbsp; contents: write&lt;/P&gt;&lt;P&gt;Are there additional permissions I need here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Running with verbose/debug doesn't give any more info around the specific error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4.&amp;nbsp;&lt;SPAN&gt;initializeConnection&amp;nbsp;works just fine as long as I use my personal user via az login instead of using the service principal.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is the response that I get:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ckingdon_bee_0-1743685743786.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1256887iEA08DE2D58699543/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ckingdon_bee_0-1743685743786.png" alt="ckingdon_bee_0-1743685743786.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 13:23:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4636825#M60200</guid>
      <dc:creator>ckingdon_bee</dc:creator>
      <dc:date>2025-04-03T13:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error when calling the initializeConnection Fabric Git API endpoint with a service princ</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4638554#M60214</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1237871"&gt;@ckingdon_bee&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try the below additional steps&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Add additional permissions as well in Azure Entra App Registration Workspace.GitAdmin.All, Workspace.ManageAll, and Workspace.GitRead.All, then make sure to grant admin consent.&lt;/LI&gt;
&lt;LI&gt;Update your GitHub Actions permissions to include below actions&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-indent-padding-left-60px"&gt;actions: read&lt;BR /&gt;contents: write&lt;BR /&gt;id-token: write&lt;BR /&gt;pull-requests: write&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Please check Microsoft Fabric to see if the workspace is already connected, as that might be causing conflicts.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If this post&amp;nbsp;helps, then please consider&amp;nbsp;&lt;SPAN&gt;Accepting as solution&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;to help the other members find it more quickly,&amp;nbsp;don't forget to give a&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"Kudos"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;– I’d truly appreciate it!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Rekha!!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 15:22:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4638554#M60214</guid>
      <dc:creator>v-sathmakuri</dc:creator>
      <dc:date>2025-04-04T15:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error when calling the initializeConnection Fabric Git API endpoint with a service princ</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4638691#M60217</link>
      <description>&lt;P&gt;I only see the following 4 permissions under PowerBI Service for the app registration:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ckingdon_bee_0-1743787656083.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1257236iD23DD0C07EC96A96/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ckingdon_bee_0-1743787656083.png" alt="ckingdon_bee_0-1743787656083.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I did add all 4 of these and granted admin consent. Additionally I updated my GitHub Actions permissions and made sure that the workspace was disconnected before running again. I am still getting the same error however.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 17:30:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4638691#M60217</guid>
      <dc:creator>ckingdon_bee</dc:creator>
      <dc:date>2025-04-04T17:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error when calling the initializeConnection Fabric Git API endpoint with a service princ</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4640388#M60234</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1237871"&gt;@ckingdon_bee&lt;/a&gt;&amp;nbsp;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your response!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Can you please raise a Microsoft support ticket for further investigation. You can create a Microsoft support ticket using the link below.&lt;BR /&gt;&lt;A class="" title="https://learn.microsoft.com/en-us/power-bi/support/create-support-ticket" href="https://learn.microsoft.com/en-us/power-bi/support/create-support-ticket" target="_blank" rel="noreferrer noopener" aria-label="Link How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn"&gt;How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn&lt;BR /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this helps, then please&amp;nbsp;&lt;STRONG&gt;Accept it as a solution&amp;nbsp;and dropping a "&lt;STRONG&gt;Kudos" so other members can find it more easily.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Hope this works for you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Rekha,&lt;/P&gt;
&lt;P&gt;Cummunity Support Team.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 07:02:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4640388#M60234</guid>
      <dc:creator>v-sathmakuri</dc:creator>
      <dc:date>2025-04-07T07:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error when calling the initializeConnection Fabric Git API endpoint with a service princ</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4656740#M60502</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1237871"&gt;@ckingdon_bee&lt;/a&gt;&amp;nbsp;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;ARTICLE class="" dir="auto" data-testid="conversation-turn-2" data-scroll-anchor="true"&gt;
&lt;DIV class=""&gt;
&lt;DIV class="" tabindex="-1"&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class="" dir="auto" data-message-author-role="assistant" data-message-id="0bd140cb-1537-4da7-b45a-52aa4dba398e" data-message-model-slug="gpt-4o"&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;P class="" data-start="35" data-end="250"&gt;Have you had a chance to raise a support ticket and resolve this issue? If so, please consider sharing the solution in the forum and marking it as accepted, this will help other members find the answer more easily.&lt;/P&gt;
&lt;P class="" data-start="35" data-end="250"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="" data-start="35" data-end="250"&gt;Thank you!&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/ARTICLE&gt;</description>
      <pubDate>Thu, 17 Apr 2025 05:17:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4656740#M60502</guid>
      <dc:creator>v-sathmakuri</dc:creator>
      <dc:date>2025-04-17T05:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error when calling the initializeConnection Fabric Git API endpoint with a service princ</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4657847#M60531</link>
      <description>&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;Yes I have raised a support ticket. Currently it has not been resolved yet and has been escalated as there was no immediate solution I could apply that they could see. I'll update here once I know more.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 15:36:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4657847#M60531</guid>
      <dc:creator>ckingdon_bee</dc:creator>
      <dc:date>2025-04-17T15:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error when calling the initializeConnection Fabric Git API endpoint with a service princ</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4666163#M60725</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1237871"&gt;@ckingdon_bee&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Were you able to resolve the issue? If yes, please consider sharing your solution and marking it as accepted, it could be a great help to others facing a similar challenge&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 07:51:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4666163#M60725</guid>
      <dc:creator>v-sathmakuri</dc:creator>
      <dc:date>2025-04-24T07:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error when calling the initializeConnection Fabric Git API endpoint with a service princ</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4666844#M60752</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1249529"&gt;@v-sathmakuri&lt;/a&gt;, still waiting on support. I got an update yesterday that they are still testing some stuff so hopefully I'll have an update next week. I'll be sure to post here as soon as I know something useful though!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 13:14:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4666844#M60752</guid>
      <dc:creator>ckingdon_bee</dc:creator>
      <dc:date>2025-04-24T13:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error when calling the initializeConnection Fabric Git API endpoint with a service princ</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4670893#M60839</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1237871"&gt;@ckingdon_bee&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once the issue is resolved, please consider sharing your solution and marking it as accepted, it could be a great help to others facing a similar challenge&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 11:59:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4670893#M60839</guid>
      <dc:creator>v-sathmakuri</dc:creator>
      <dc:date>2025-04-28T11:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error when calling the initializeConnection Fabric Git API endpoint with a service princ</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4712419#M61495</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1237871"&gt;@ckingdon_bee&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are following up once again regarding your query. Could you please confirm whether the issue has been resolved through your support ticket with Microsoft?&lt;/P&gt;
&lt;P&gt;If so, we would appreciate it if you could share the resolution or any key insights here to benefit others in the community. If we don’t receive a response, we will proceed with closing this thread.&lt;/P&gt;
&lt;P&gt;If you need further assistance in the future, feel free to start a new thread in the Microsoft Fabric Community Forum. We will be happy to support you there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!!&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 13:19:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4712419#M61495</guid>
      <dc:creator>v-sathmakuri</dc:creator>
      <dc:date>2025-05-29T13:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error when calling the initializeConnection Fabric Git API endpoint with a service princ</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4712637#M61502</link>
      <description>&lt;P&gt;I am still working through things with Microsoft support.&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 15:04:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4712637#M61502</guid>
      <dc:creator>ckingdon_bee</dc:creator>
      <dc:date>2025-05-29T15:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error when calling the initializeConnection Fabric Git API endpoint with a service princ</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4713843#M61520</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1237871"&gt;@ckingdon_bee&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your patience. The concerned team is looking into the issue, but it may take some time to resolve. As there is already an open ticket with Microsoft, we are closing this thread for now. If you encounter any further issues, please feel free to start a new thread in the community forum, we will be happy to assist you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for being part of Fabric community Forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!!&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 10:18:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4713843#M61520</guid>
      <dc:creator>v-sathmakuri</dc:creator>
      <dc:date>2025-05-30T10:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error when calling the initializeConnection Fabric Git API endpoint with a service princ</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4714161#M61529</link>
      <description>&lt;P&gt;We finally got it working with help from Microsoft! I will post a response to the post (assuming I am still able) with the final solution.&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 13:15:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4714161#M61529</guid>
      <dc:creator>ckingdon_bee</dc:creator>
      <dc:date>2025-05-30T13:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error when calling the initializeConnection Fabric Git API endpoint with a service princ</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4714259#M61531</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1237871"&gt;@ckingdon_bee&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your response. Please post the working solution here. This will help other community members with similar issues to resolve them more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!!&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 14:18:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4714259#M61531</guid>
      <dc:creator>v-sathmakuri</dc:creator>
      <dc:date>2025-05-30T14:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown Error when calling the initializeConnection Fabric Git API endpoint with a service princ</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4714324#M61532</link>
      <description>&lt;P&gt;With some great help from Microsoft we finally figured out the solution. It was a combination of three items that we had to solve. The first item was in the Fabric Admin Portal. We had to enable the following setttings:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Service principals can access read-only admin APIs&lt;/LI&gt;&lt;LI&gt;Service principals can access admin APIs used for updates&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In addition these settings the second item that is required is that you put your service principal into an Entra AD group:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ckingdon_bee_0-1748615840293.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1272738iDBB3074CF1962ED8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ckingdon_bee_0-1748615840293.png" alt="ckingdon_bee_0-1748615840293.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The second thing we had to do was reconfigure our service principal setup in the app registration. In my own troubleshooting I had added several Fabric/PowerBI related API permissions. As mentioned in this document:&amp;nbsp;&lt;A title="Embed Power BI content with service principal and an application secret" href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-service-principal?tabs=azure-portal" target="_blank" rel="noopener"&gt;Embed Power BI content with service principal and an application secret&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These permissions are no longer needed once you enable the Fabric API setting and in fact can cause issues. See this callout:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ckingdon_bee_2-1748616092234.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1272741iC07573E777A10E9B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ckingdon_bee_2-1748616092234.png" alt="ckingdon_bee_2-1748616092234.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The solution was to remove all of the permissions besides the default one you get when you create an app registration:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ckingdon_bee_1-1748615998437.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1272739i02E33CB721B02101/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ckingdon_bee_1-1748615998437.png" alt="ckingdon_bee_1-1748615998437.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After doing these 3 steps we are now able to sync our workspaces with GIT via a service principal inside of GitHub Actions workflow. As a bonus it also supports using federated credentials instead of having to rely on a client secret!&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 14:43:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unknown-Error-when-calling-the-initializeConnection-Fabric-Git/m-p/4714324#M61532</guid>
      <dc:creator>ckingdon_bee</dc:creator>
      <dc:date>2025-05-30T14:43:22Z</dc:date>
    </item>
  </channel>
</rss>

