<?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: Unable to trigger fabric data pipeline using REST API's in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-trigger-fabric-data-pipeline-using-REST-API-s/m-p/4267333#M6180</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="830963" data-lia-user-login="munnas" class="lia-mention lia-mention-user"&gt;munnas&lt;/a&gt;&amp;nbsp;- Sorry for the delay; I will ask our Dev Team to share the snippet from our web app. They are on Holiday; so it may not be until Monday/Tuesday next week.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Nov 2024 18:55:15 GMT</pubDate>
    <dc:creator>jwinchell40</dc:creator>
    <dc:date>2024-11-01T18:55:15Z</dc:date>
    <item>
      <title>Unable to trigger fabric data pipeline using REST API's</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-trigger-fabric-data-pipeline-using-REST-API-s/m-p/4258325#M6071</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have recently created, microsoft data fabric trail account with 60 day trail.&lt;/P&gt;&lt;P&gt;And under this trail account, I am trying to invoke microsoft data fabric data pipeline using Postman/from some external client.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on the docuementation(i.e. &lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;A title="https://learn.microsoft.com/en-us/fabric/data-factory/pipeline-rest-api#obtain-an-authorization-token" href="https://learn.microsoft.com/en-us/fabric/data-factory/pipeline-rest-api#obtain-an-authorization-token" target="_blank" rel="noreferrer noopener"&gt;https://learn.microsoft.com/en-us/fabric/data-factory/pipeline-rest-api#obtain-an-authorization-token&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;), I tried to optain the token with below curl:&lt;/P&gt;&lt;PRE&gt;&lt;BR /&gt;curl --location '&lt;A href="https://login.microsoftonline.com/" target="_blank" rel="noopener"&gt;https://login.microsoftonline.com/&lt;/A&gt;tanentId/oauth2/v2.0/token' \&lt;BR /&gt;--header 'Content-Type: application/x-www-form-urlencoded' \&lt;BR /&gt;--data-urlencode 'client_id=&lt;STRONG&gt;myclientId&lt;/STRONG&gt;' \&lt;BR /&gt;--data-urlencode 'client_secret=&lt;STRONG&gt;mysecret&lt;/STRONG&gt;' \&lt;BR /&gt;--data-urlencode 'scope=&lt;A href="https://api.fabric.microsoft.com/.default" target="_blank" rel="noopener"&gt;https://api.fabric.microsoft.com/.default&lt;/A&gt;' \&lt;BR /&gt;--data-urlencode 'grant_type=client_credentials'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;I get the token, but when i am using the same token to rigger the pipline using below curl. but i get 401 error with message &lt;SPAN&gt;"The caller is not authenticated to access this resource". please help how can i proceed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;curl --location --request POST '&lt;A href="https://api.fabric.microsoft.com/v1/workspaces/" target="_blank" rel="noopener"&gt;https://api.fabric.microsoft.com/v1/workspaces/&lt;/A&gt;&lt;STRONG&gt;myworkspaceid&lt;/STRONG&gt;/items/&lt;STRONG&gt;mypiplelineid&lt;/STRONG&gt;/jobs/instances?jobType=Pipeline' \&lt;BR /&gt;--header 'Authorization: Bearer &amp;lt;token&amp;gt;' \&lt;BR /&gt;--data ''&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 15:47:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-trigger-fabric-data-pipeline-using-REST-API-s/m-p/4258325#M6071</guid>
      <dc:creator>munnas</dc:creator>
      <dc:date>2024-10-25T15:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to trigger fabric data pipeline using REST API's</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-trigger-fabric-data-pipeline-using-REST-API-s/m-p/4258650#M6077</link>
      <description>&lt;P&gt;Evaluate your token at jwt.io&amp;nbsp; most likely you have misconfigured the application scope.&amp;nbsp; Don't use delegated permissions.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 22:07:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-trigger-fabric-data-pipeline-using-REST-API-s/m-p/4258650#M6077</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-10-25T22:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to trigger fabric data pipeline using REST API's</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-trigger-fabric-data-pipeline-using-REST-API-s/m-p/4258827#M6078</link>
      <description>&lt;P&gt;I have already configured the application under Microsoft Entra ID (&lt;A href="https://entra.microsoft.com/#view/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade" target="_new" rel="noopener"&gt;&lt;SPAN&gt;https&lt;/SPAN&gt;&lt;SPAN&gt;://entra&lt;/SPAN&gt;&lt;SPAN&gt;.microsoft&lt;/SPAN&gt;&lt;SPAN&gt;.com&lt;/SPAN&gt;&lt;SPAN&gt;/#view&lt;/SPAN&gt;&lt;SPAN&gt;/Microsoft_AAD_RegisteredApps&lt;/SPAN&gt;&lt;SPAN&gt;/ApplicationMenuBlade&lt;/SPAN&gt;&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is a screenshot showing the application permissions that were added. Since microsoft fabric was not available, I added application permissions for the Power BI service instead.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2024 07:09:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-trigger-fabric-data-pipeline-using-REST-API-s/m-p/4258827#M6078</guid>
      <dc:creator>munnas</dc:creator>
      <dc:date>2024-10-26T07:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to trigger fabric data pipeline using REST API's</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-trigger-fabric-data-pipeline-using-REST-API-s/m-p/4259002#M6079</link>
      <description>&lt;LI-CODE lang="markup"&gt;Since microsoft fabric was not available, I added application permissions for the Power BI service instead.&lt;/LI-CODE&gt;
&lt;P&gt;I would call this the "money tree approach". You may want to investigate if there are Fabric specific permissions, either already implemented or planned.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2024 13:00:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-trigger-fabric-data-pipeline-using-REST-API-s/m-p/4259002#M6079</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-10-26T13:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to trigger fabric data pipeline using REST API's</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-trigger-fabric-data-pipeline-using-REST-API-s/m-p/4259606#M6081</link>
      <description>&lt;P&gt;Did you add the service principal to access the workspace where the data pipeline is in with sufficient permissions? You do not need any application permissions as shown in the screenshot. Also make sure that your service principal is able to run REST APIs. This can be set in the Power BI (Fabric) admin settings.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Oct 2024 22:39:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-trigger-fabric-data-pipeline-using-REST-API-s/m-p/4259606#M6081</guid>
      <dc:creator>FabianSchut</dc:creator>
      <dc:date>2024-10-27T22:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to trigger fabric data pipeline using REST API's</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-trigger-fabric-data-pipeline-using-REST-API-s/m-p/4259673#M6084</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="830963" data-lia-user-login="munnas" class="lia-mention lia-mention-user"&gt;munnas&lt;/a&gt;&amp;nbsp;- The API that you use to trigger a Fabric Data Pipeline does not support Service Principals.&amp;nbsp; You have to use a named user account &amp;amp; password.&amp;nbsp; They will be bringing service pricipal support to more API's in the future.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It does work with Username/Password as we are able to do that within our Company.&amp;nbsp; &amp;nbsp;It will eventually work in Power Automate but since the API does not return a response the HTTP Post with Azure Entra (preauthorized) does not function properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is another thread in the community that goes into more detail.&amp;nbsp; It's fairly recent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 02:07:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-trigger-fabric-data-pipeline-using-REST-API-s/m-p/4259673#M6084</guid>
      <dc:creator>jwinchell40</dc:creator>
      <dc:date>2024-10-28T02:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to trigger fabric data pipeline using REST API's</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-trigger-fabric-data-pipeline-using-REST-API-s/m-p/4260566#M6105</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="599628" data-lia-user-login="jwinchell40" class="lia-mention lia-mention-user"&gt;jwinchell40&lt;/a&gt;&amp;nbsp;&amp;nbsp;thanks for the response. could you please some example how you are able to trigger the datapipleline.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 13:18:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-trigger-fabric-data-pipeline-using-REST-API-s/m-p/4260566#M6105</guid>
      <dc:creator>munnas</dc:creator>
      <dc:date>2024-10-28T13:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to trigger fabric data pipeline using REST API's</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-trigger-fabric-data-pipeline-using-REST-API-s/m-p/4260673#M6108</link>
      <description>&lt;P&gt;You can take a look at this topic: &lt;A href="https://community.fabric.microsoft.com/t5/Data-Pipeline/How-to-trigger-an-on-demand-run-to-a-pipeline-from-a-API/m-p/4248175" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Data-Pipeline/How-to-trigger-an-on-demand-run-to-a-pipeline-from-a-API/m-p/4248175&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 14:26:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-trigger-fabric-data-pipeline-using-REST-API-s/m-p/4260673#M6108</guid>
      <dc:creator>FabianSchut</dc:creator>
      <dc:date>2024-10-28T14:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to trigger fabric data pipeline using REST API's</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-trigger-fabric-data-pipeline-using-REST-API-s/m-p/4267333#M6180</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="830963" data-lia-user-login="munnas" class="lia-mention lia-mention-user"&gt;munnas&lt;/a&gt;&amp;nbsp;- Sorry for the delay; I will ask our Dev Team to share the snippet from our web app. They are on Holiday; so it may not be until Monday/Tuesday next week.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 18:55:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Unable-to-trigger-fabric-data-pipeline-using-REST-API-s/m-p/4267333#M6180</guid>
      <dc:creator>jwinchell40</dc:creator>
      <dc:date>2024-11-01T18:55:15Z</dc:date>
    </item>
  </channel>
</rss>

