<?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: get access token from credentials by Rest request in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/get-access-token-from-credentials-by-Rest-request/m-p/847465#M21414</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/186645"&gt;@mattia_b&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try the below image&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/185923iCF9D672871D0E639/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2019 12:49:19 GMT</pubDate>
    <dc:creator>Jayendran</dc:creator>
    <dc:date>2019-11-15T12:49:19Z</dc:date>
    <item>
      <title>get access token from credentials by Rest request</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/get-access-token-from-credentials-by-Rest-request/m-p/847372#M21413</link>
      <description>&lt;P&gt;I'm trying to get the access token to attach to all the other request, what i want to know is how to call the authorization server for retrive a new Bearer token, In other words the equivalent of the following code using the rest api instead:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;var autenticationContext = new AuthenticationContext(Config.my.PB_AutorityURL());&lt;BR /&gt;var credential = new UserPasswordCredential(Config.my.PB_Username(), Config.my.PB_Password());&lt;BR /&gt;var authResult = autenticationContext.AcquireTokenAsync(Config.my.PB_ResourceURL(), Config.my.PB_AppID(), credential).Result&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your attention&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2019 10:33:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/get-access-token-from-credentials-by-Rest-request/m-p/847372#M21413</guid>
      <dc:creator>mattia_b</dc:creator>
      <dc:date>2019-11-15T10:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: get access token from credentials by Rest request</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/get-access-token-from-credentials-by-Rest-request/m-p/847465#M21414</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/186645"&gt;@mattia_b&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try the below image&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/185923iCF9D672871D0E639/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2019 12:49:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/get-access-token-from-credentials-by-Rest-request/m-p/847465#M21414</guid>
      <dc:creator>Jayendran</dc:creator>
      <dc:date>2019-11-15T12:49:19Z</dc:date>
    </item>
  </channel>
</rss>

