<?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: retrieve token api call with content type x-www-form-urlencoded in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/retrieve-token-api-call-with-content-type-x-www-form-urlencoded/m-p/3781264#M2199</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="681006" data-lia-user-login="AOSulli" class="lia-mention lia-mention-user"&gt;AOSulli&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thanks for using Fabric Community,&lt;BR /&gt;&lt;BR /&gt;Inorder to understand how to use client_id and client_secret in your case, please follow below screenshot -&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;1. Connection - Add your base URL here.&lt;BR /&gt;2. Relative URL - Add your relative URL here.&lt;BR /&gt;3. Body &lt;STRONG&gt;(Main point) -&amp;nbsp;&lt;/STRONG&gt;Can add your client_id and client_secret here in json format&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;{
    "grant_type":"client_credentials",
    "client_id":"abcdefg",
    "client_secret":"123ghy456"
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. Header: Add&amp;nbsp;&lt;STRONG&gt;Content-Type :&amp;nbsp;application/json&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Hope this is helpful. In case of any queries please feel free.&lt;BR /&gt;&lt;BR /&gt;Ref Link -&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/Data-Pipelines/Ingest-data-form-a-rest-API-with-Oauth2/m-p/3471443#M790" target="_blank" rel="noopener"&gt;Ingest data form a rest API with Oauth2 - Microsoft Fabric Community&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this is helpful. Please let me know incase of further queries.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Mar 2024 04:25:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-03-21T04:25:03Z</dc:date>
    <item>
      <title>retrieve token api call with content type x-www-form-urlencoded</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/retrieve-token-api-call-with-content-type-x-www-form-urlencoded/m-p/3778608#M2191</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;i am trying to retrieve a bearer token using the web activity in febaric pipelines.&amp;nbsp;&lt;/P&gt;&lt;P&gt;the content type is -&amp;nbsp;x-www-form-urlencoded&lt;/P&gt;&lt;P&gt;how do i put in the body details?&amp;nbsp;&lt;/P&gt;&lt;P&gt;grant_type =&amp;nbsp;&lt;BR /&gt;client_id =&amp;nbsp;&lt;BR /&gt;client_secret =&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i called it in thundercloud client in visual studio code and it worked fine. as i populated the above details in&amp;nbsp;&lt;SPAN&gt;Form Encoded.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;when i simply put in the details like this i am getting&amp;nbsp;HTTP Status 500 – Internal Server Error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;BR /&gt;grant_type = "xxxxxx",&lt;BR /&gt;client_id = xxxxxx,&lt;BR /&gt;client_secret = xxxxxxxx&lt;BR /&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 11:35:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/retrieve-token-api-call-with-content-type-x-www-form-urlencoded/m-p/3778608#M2191</guid>
      <dc:creator>AOSulli</dc:creator>
      <dc:date>2024-03-20T11:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve token api call with content type x-www-form-urlencoded</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/retrieve-token-api-call-with-content-type-x-www-form-urlencoded/m-p/3781264#M2199</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="681006" data-lia-user-login="AOSulli" class="lia-mention lia-mention-user"&gt;AOSulli&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thanks for using Fabric Community,&lt;BR /&gt;&lt;BR /&gt;Inorder to understand how to use client_id and client_secret in your case, please follow below screenshot -&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;1. Connection - Add your base URL here.&lt;BR /&gt;2. Relative URL - Add your relative URL here.&lt;BR /&gt;3. Body &lt;STRONG&gt;(Main point) -&amp;nbsp;&lt;/STRONG&gt;Can add your client_id and client_secret here in json format&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;{
    "grant_type":"client_credentials",
    "client_id":"abcdefg",
    "client_secret":"123ghy456"
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. Header: Add&amp;nbsp;&lt;STRONG&gt;Content-Type :&amp;nbsp;application/json&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Hope this is helpful. In case of any queries please feel free.&lt;BR /&gt;&lt;BR /&gt;Ref Link -&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/Data-Pipelines/Ingest-data-form-a-rest-API-with-Oauth2/m-p/3471443#M790" target="_blank" rel="noopener"&gt;Ingest data form a rest API with Oauth2 - Microsoft Fabric Community&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this is helpful. Please let me know incase of further queries.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 04:25:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/retrieve-token-api-call-with-content-type-x-www-form-urlencoded/m-p/3781264#M2199</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-21T04:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve token api call with content type x-www-form-urlencoded</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/retrieve-token-api-call-with-content-type-x-www-form-urlencoded/m-p/3782360#M2208</link>
      <description>&lt;P&gt;Hello - this doesnt work - i get -&amp;nbsp;&lt;SPAN&gt;HTTP Status 500 – Internal Server Error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;however when i use -&amp;nbsp;&lt;/P&gt;&lt;P&gt;content type - application/x-www-form-urlencoded&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and in the body i put&amp;nbsp;&lt;/P&gt;&lt;P&gt;grant_type=client_credentials&amp;amp;client_id=&amp;lt;encoded client id&amp;gt;&amp;amp;client_secret=&amp;lt;encoded client secret&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then it works.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 10:15:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/retrieve-token-api-call-with-content-type-x-www-form-urlencoded/m-p/3782360#M2208</guid>
      <dc:creator>AOSulli</dc:creator>
      <dc:date>2024-03-21T10:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve token api call with content type x-www-form-urlencoded</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/retrieve-token-api-call-with-content-type-x-www-form-urlencoded/m-p/3782394#M2209</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="681006" data-lia-user-login="AOSulli" class="lia-mention lia-mention-user"&gt;AOSulli&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I am happy to know that you were able resolve your query. Please continue using Fabric Community for your further queries.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: content type will be different in few scenarios, it might not be always same. But you will be ending up with similar kind of answer.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 10:30:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/retrieve-token-api-call-with-content-type-x-www-form-urlencoded/m-p/3782394#M2209</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-21T10:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve token api call with content type x-www-form-urlencoded</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/retrieve-token-api-call-with-content-type-x-www-form-urlencoded/m-p/4596717#M7223</link>
      <description>&lt;P&gt;What did you use for "encoded" client id.&amp;nbsp; I'm passing my client id and secret and it's not working.&amp;nbsp; I get the error&amp;nbsp;{"error":"invalid_grant","error_description":"no client credentials user enabled"}&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 14:15:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/retrieve-token-api-call-with-content-type-x-www-form-urlencoded/m-p/4596717#M7223</guid>
      <dc:creator>DanielSDavis</dc:creator>
      <dc:date>2025-03-05T14:15:23Z</dc:date>
    </item>
  </channel>
</rss>

