<?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: Microsoft Fabric API Authentication &amp;amp; Deployment Issue | Azure DevOps Pipeline in Fabric platform</title>
    <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Microsoft-Fabric-API-Authentication-amp-Deployment-Issue-Azure/m-p/4605686#M13232</link>
    <description>&lt;P&gt;direct permissions or delegated?&amp;nbsp; Have you checked the token scope at jwt.io ?&lt;/P&gt;</description>
    <pubDate>Tue, 11 Mar 2025 19:38:41 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2025-03-11T19:38:41Z</dc:date>
    <item>
      <title>Microsoft Fabric API Authentication &amp; Deployment Issue | Azure DevOps Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Microsoft-Fabric-API-Authentication-amp-Deployment-Issue-Azure/m-p/4605368#M13219</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;We have configured&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Microsoft Fabric&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in our environment, with dedicated workspaces for&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Dev, UAT, and PROD&lt;/STRONG&gt;. Instead of using Deployment Pipelines, we have&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;integrated our workspaces with an Azure DevOps Git repository branch&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for version control.&lt;/P&gt;&lt;P&gt;Current Implementation&lt;/P&gt;&lt;P&gt;We are using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Fabric API&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to trigger deployments: &lt;span class="lia-unicode-emoji" title=":link:"&gt;🔗&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;API Endpoint:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://api.fabric.microsoft.com/v1/workspaces/$WorkspaceId/git/updateFromGit" target="_blank" rel="noopener"&gt;https://api.fabric.microsoft.com/v1/workspaces/$WorkspaceId/git/updateFromGit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Initially, we used a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;service account&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for deployments. While testing via&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Postman&lt;/STRONG&gt;, we were able to retrieve all&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;workspace IDs&lt;/STRONG&gt;, but the deployment API returned the following error:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;{&lt;/SPAN&gt; &lt;SPAN class=""&gt;"requestId"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"3ef3a862-7c11-4e41-be58-9cb29dd82483"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;"errorCode"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"InsufficientScopes"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;"message"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"The caller does not have sufficient scopes to perform this operation"&lt;/SPAN&gt; &lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actions Taken&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Followed&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Microsoft documentation&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to create an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Application ID&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Client Secret&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Granted the following&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;permissions&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to the App:&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Workspace.ReadWrite.All&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Workspace.GitUpdate&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Added the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;App ID&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;as a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Workspace Admin&lt;/STRONG&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Issue with API Token Authentication&lt;/P&gt;&lt;P&gt;When running the following PowerShell script in our Azure DevOps pipeline to generate an access token, we faced an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;authentication issue&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;while retrieving workspace IDs or deploying contents:&lt;/P&gt;&lt;P&gt;Pipeline Script for Token Generation&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;$TenantId&lt;/SPAN&gt; = &lt;SPAN class=""&gt;"$(TENANT_ID)"&lt;/SPAN&gt; &lt;SPAN class=""&gt;$ClientId&lt;/SPAN&gt; = &lt;SPAN class=""&gt;"$(CLIENT_ID)"&lt;/SPAN&gt; &lt;SPAN class=""&gt;$ClientSecret&lt;/SPAN&gt; = &lt;SPAN class=""&gt;"$(CLIENT_SECRET)"&lt;/SPAN&gt; &lt;SPAN class=""&gt;$TokenUrl&lt;/SPAN&gt; = &lt;SPAN class=""&gt;"&lt;A href="https://login.microsoftonline.com/$TenantId/oauth2/v2.0/token" target="_blank" rel="noopener"&gt;https://login.microsoftonline.com/$TenantId/oauth2/v2.0/token&lt;/A&gt;"&lt;/SPAN&gt; &lt;SPAN class=""&gt;$Body&lt;/SPAN&gt; = @{ client_id = &lt;SPAN class=""&gt;$ClientId&lt;/SPAN&gt; client_secret = &lt;SPAN class=""&gt;$ClientSecret&lt;/SPAN&gt; scope = &lt;SPAN class=""&gt;"&lt;A href="https://api.fabric.microsoft.com/.default" target="_blank" rel="noopener"&gt;https://api.fabric.microsoft.com/.default&lt;/A&gt;"&lt;/SPAN&gt; grant_type = &lt;SPAN class=""&gt;"client_credentials"&lt;/SPAN&gt; } &lt;SPAN class=""&gt;try&lt;/SPAN&gt; { &lt;SPAN class=""&gt;$Response&lt;/SPAN&gt; = &lt;SPAN class=""&gt;Invoke-RestMethod&lt;/SPAN&gt;&lt;SPAN class=""&gt; -Uri&lt;/SPAN&gt; &lt;SPAN class=""&gt;$TokenUrl&lt;/SPAN&gt;&lt;SPAN class=""&gt; -Method&lt;/SPAN&gt; Post&lt;SPAN class=""&gt; -Body&lt;/SPAN&gt; &lt;SPAN class=""&gt;$Body&lt;/SPAN&gt;&lt;SPAN class=""&gt; -ContentType&lt;/SPAN&gt; &lt;SPAN class=""&gt;"application/x-www-form-urlencoded"&lt;/SPAN&gt; &lt;SPAN class=""&gt;$AccessToken&lt;/SPAN&gt; = &lt;SPAN class=""&gt;$Response&lt;/SPAN&gt;.access_token &lt;SPAN class=""&gt;if&lt;/SPAN&gt; (&lt;SPAN class=""&gt;-not&lt;/SPAN&gt; &lt;SPAN class=""&gt;$AccessToken&lt;/SPAN&gt;) { &lt;SPAN class=""&gt;Write-Host&lt;/SPAN&gt; &lt;SPAN class=""&gt;"##[error]Failed to fetch Access Token!"&lt;/SPAN&gt; &lt;SPAN class=""&gt;exit&lt;/SPAN&gt; &lt;SPAN class=""&gt;1&lt;/SPAN&gt; } &lt;SPAN class=""&gt;Write-Host&lt;/SPAN&gt; &lt;SPAN class=""&gt;"Access Token (First 10 chars): $($AccessToken.Substring(0,10))..."&lt;/SPAN&gt; &lt;SPAN class=""&gt;Write-Host&lt;/SPAN&gt; &lt;SPAN class=""&gt;"##vso[task.setvariable variable=FabricAccessToken;isSecret=true]$AccessToken"&lt;/SPAN&gt; } catch { &lt;SPAN class=""&gt;Write-Host&lt;/SPAN&gt; &lt;SPAN class=""&gt;"##[error]Failed to retrieve access token: $_"&lt;/SPAN&gt; &lt;SPAN class=""&gt;exit&lt;/SPAN&gt; &lt;SPAN class=""&gt;1&lt;/SPAN&gt; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Error Message Returned --&amp;gt;&amp;nbsp;&lt;SPAN class=""&gt;{&lt;/SPAN&gt; &lt;SPAN class=""&gt;"requestId"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"29bcee65-1313-4103-bcb6-56d7e572ec27"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;"errorCode"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"Unauthorized"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;"message"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"The caller is not authenticated to access this resource"&lt;/SPAN&gt; &lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 15:00:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Microsoft-Fabric-API-Authentication-amp-Deployment-Issue-Azure/m-p/4605368#M13219</guid>
      <dc:creator>Sukiazure007</dc:creator>
      <dc:date>2025-03-11T15:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Fabric API Authentication &amp; Deployment Issue | Azure DevOps Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Microsoft-Fabric-API-Authentication-amp-Deployment-Issue-Azure/m-p/4605686#M13232</link>
      <description>&lt;P&gt;direct permissions or delegated?&amp;nbsp; Have you checked the token scope at jwt.io ?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 19:38:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Microsoft-Fabric-API-Authentication-amp-Deployment-Issue-Azure/m-p/4605686#M13232</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-03-11T19:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Fabric API Authentication &amp; Deployment Issue | Azure DevOps Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Microsoft-Fabric-API-Authentication-amp-Deployment-Issue-Azure/m-p/4608013#M13289</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1236868" data-lia-user-login="Sukiazure007" class="lia-mention lia-mention-user"&gt;Sukiazure007&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out.&lt;/P&gt;
&lt;P&gt;To troubleshoot the authentication issue, please verify the access token after generating it. You can decode the token using &amp;nbsp;’ jwt.ms ‘&amp;nbsp; to inspect its contents. Specifically, check the aud (audience) claim to ensure it matches.&lt;/P&gt;
&lt;P&gt;This follows Microsoft's best practices for validating tokens, as outlined in the official documentation: &lt;A href="https://learn.microsoft.com/en-us/entra/identity-platform/access-tokens" target="_blank"&gt;Access tokens in the Microsoft identity platform - Microsoft identity platform | Microsoft Learn&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Web APIs must validate access tokens sent to them by a client. They must only accept tokens containing one of their AppId URIs as the aud claim.

Web apps must validate ID tokens sent to them by using the user's browser in the hybrid flow, before allowing access to a user's data or establishing a session.

&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additionally, ensure the correct scopes are included in the token request for successful authentication.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;FYI:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;I hope this helps..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Yugandhar.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 07:06:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Microsoft-Fabric-API-Authentication-amp-Deployment-Issue-Azure/m-p/4608013#M13289</guid>
      <dc:creator>V-yubandi-msft</dc:creator>
      <dc:date>2025-03-13T07:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Fabric API Authentication &amp; Deployment Issue | Azure DevOps Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Microsoft-Fabric-API-Authentication-amp-Deployment-Issue-Azure/m-p/4612385#M13430</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1236868" data-lia-user-login="Sukiazure007" class="lia-mention lia-mention-user"&gt;Sukiazure007&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also notice the updateFromGit API is currently supporting only user authentication and not SPN as mentioned in the doc:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/fabric/core/git/update-from-git?tabs=HTTP" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/rest/api/fabric/core/git/update-from-git?tabs=HTTP.&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, 17 Mar 2025 08:12:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Microsoft-Fabric-API-Authentication-amp-Deployment-Issue-Azure/m-p/4612385#M13430</guid>
      <dc:creator>yaronprigal</dc:creator>
      <dc:date>2025-03-17T08:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Fabric API Authentication &amp; Deployment Issue | Azure DevOps Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Microsoft-Fabric-API-Authentication-amp-Deployment-Issue-Azure/m-p/4612424#M13433</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1236868" data-lia-user-login="Sukiazure007" class="lia-mention lia-mention-user"&gt;Sukiazure007&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Has your issue been resolved, or do you require any further information? Your feedback is valuable to us. If the solution was effective, please mark it as&lt;STRONG&gt; 'Accepted Solution'&lt;/STRONG&gt; to assist other community members experiencing the same issue.&lt;BR /&gt;&lt;BR /&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 08:49:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Microsoft-Fabric-API-Authentication-amp-Deployment-Issue-Azure/m-p/4612424#M13433</guid>
      <dc:creator>V-yubandi-msft</dc:creator>
      <dc:date>2025-03-17T08:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Fabric API Authentication &amp; Deployment Issue | Azure DevOps Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Microsoft-Fabric-API-Authentication-amp-Deployment-Issue-Azure/m-p/4612937#M13458</link>
      <description>&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;Apologies for the delayed response. Currently, I am using the service account for the updateFromGit process, and while the deployment itself is successful, we are facing two key challenges:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Access Token Issue&lt;/STRONG&gt; – The pipeline requires a manually generated access token each time. Despite MFA being disabled, it seems interactive login is not supported, causing an automation bottleneck.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Connection Configuration Post-Deployment&lt;/STRONG&gt; – After deployment from Git, all connections are still pointing to the DEV environment. We plan to use the Connections API to update them dynamically, but we are facing permission restrictions. Adding &lt;STRONG&gt;Connections.ReadWrite.All&lt;/STRONG&gt; should help resolve this.?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Could you please advise on potential solutions for both issues? Your support would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 13:47:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Microsoft-Fabric-API-Authentication-amp-Deployment-Issue-Azure/m-p/4612937#M13458</guid>
      <dc:creator>Sukiazure007</dc:creator>
      <dc:date>2025-03-17T13:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Fabric API Authentication &amp; Deployment Issue | Azure DevOps Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Microsoft-Fabric-API-Authentication-amp-Deployment-Issue-Azure/m-p/4612940#M13459</link>
      <description>&lt;P&gt;Now trying delegated permission as direct is not supported for this API updatefromgit.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 13:48:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Microsoft-Fabric-API-Authentication-amp-Deployment-Issue-Azure/m-p/4612940#M13459</guid>
      <dc:creator>Sukiazure007</dc:creator>
      <dc:date>2025-03-17T13:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Fabric API Authentication &amp; Deployment Issue | Azure DevOps Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Microsoft-Fabric-API-Authentication-amp-Deployment-Issue-Azure/m-p/4614295#M13527</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1236868" data-lia-user-login="Sukiazure007" class="lia-mention lia-mention-user"&gt;Sukiazure007&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for the update.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. To prevent manual token generation, utilize certificate-based authentication or Managed Identity rather than a service account.&lt;/P&gt;
&lt;P&gt;Please ensure the application is correctly registered in Microsoft Entra ID.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please assign Workspace.ReadWrite.All and Workspace.GitUpdate permissions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Reference: &lt;A href="https://learn.microsoft.com/en-us/entra/identity-platform/app-objects-and-service-principals?tabs=browser" target="_blank"&gt;Apps &amp;amp; service principals in Microsoft Entra ID - Microsoft identity platform | Microsoft Learn&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. After deploying from Git, the connections still point to the DEV environment instead of updating dynamically.&lt;/P&gt;
&lt;P&gt;Grant the Connections.ReadWrite.All permission to the registered application.&lt;/P&gt;
&lt;P&gt;After deploying from Git, use the Connections API to update connection settings dynamically.&lt;/P&gt;
&lt;P&gt;If permission issues persist, verify the role assignments in the Fabric Admin Portal under Manage Workspaces.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps streamline token generation and automate connection updates after deployment.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 08:45:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Microsoft-Fabric-API-Authentication-amp-Deployment-Issue-Azure/m-p/4614295#M13527</guid>
      <dc:creator>V-yubandi-msft</dc:creator>
      <dc:date>2025-03-18T08:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Fabric API Authentication &amp; Deployment Issue | Azure DevOps Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Microsoft-Fabric-API-Authentication-amp-Deployment-Issue-Azure/m-p/4614315#M13528</link>
      <description>&lt;P&gt;Thanks, #02 - Will test with the permission&amp;nbsp;&lt;SPAN&gt;Connections.ReadWrite.All and update here in couple of days. #01 --&amp;gt;&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/fabric/core/git/update-from-git?tabs=HTTP" target="_blank"&gt;Git - Update From Git - REST API (Core) | Microsoft Learn&lt;/A&gt;&amp;nbsp;--&amp;gt; As per the article service principal are not supported for this API, still will i able to automate this process in pipeline?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 09:03:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Microsoft-Fabric-API-Authentication-amp-Deployment-Issue-Azure/m-p/4614315#M13528</guid>
      <dc:creator>Sukiazure007</dc:creator>
      <dc:date>2025-03-18T09:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Fabric API Authentication &amp; Deployment Issue | Azure DevOps Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/Microsoft-Fabric-API-Authentication-amp-Deployment-Issue-Azure/m-p/4616275#M13590</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1236868" data-lia-user-login="Sukiazure007" class="lia-mention lia-mention-user"&gt;Sukiazure007&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. To avoid manual token generation, please use certificate-based authentication or Managed Identity instead of a service account.&lt;/P&gt;
&lt;P&gt;Ensure that the application is properly registered in Microsoft Entra ID.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Reference: &lt;A href="https://learn.microsoft.com/en-us/entra/identity-platform/app-objects-and-service-principals?tabs=browser" target="_blank"&gt;Apps &amp;amp; service principals in Microsoft Entra ID - Microsoft identity platform | Microsoft Learn&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Please assign Workspace.ReadWrite.All and Workspace.GitUpdate permissions.&lt;/P&gt;
&lt;P&gt;2. Upon deployment from Git, the connections still point to the DEV environment instead of updating dynamically.&lt;/P&gt;
&lt;P&gt;Please grant the Connections.ReadWrite.All permission to the registered application.&lt;/P&gt;
&lt;P&gt;After deploying from Git, use the Connections API to update connection settings dynamically.&lt;/P&gt;
&lt;P&gt;If permission issues persist, verify the role assignments in the Fabric Admin Portal under Manage Workspaces.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps streamline token generation and automate connection updates after deployment.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 12:08:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/Microsoft-Fabric-API-Authentication-amp-Deployment-Issue-Azure/m-p/4616275#M13590</guid>
      <dc:creator>V-yubandi-msft</dc:creator>
      <dc:date>2025-03-19T12:08:19Z</dc:date>
    </item>
  </channel>
</rss>

