<?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: How to get API Bearer Token for Power BI Admin apis in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/How-to-get-API-Bearer-Token-for-Power-BI-Admin-apis/m-p/3868182#M51997</link>
    <description>&lt;P&gt;You have said -&lt;/P&gt;&lt;P&gt;I am trying to use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;A href="https://login.microsoft.com/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://login.microsoft.com/&lt;/A&gt;&amp;nbsp;&amp;lt;tenet id&amp;gt;/oauth2/token&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to get access token for Power BI Admin apis.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I have set up a application and security group in AD and granted all the read access required.&amp;nbsp; &amp;nbsp; I can paste in a token into api call and it works.&amp;nbsp; I can use the above api and return an access token in Postman.&lt;BR /&gt;&lt;BR /&gt;How to do it ?&lt;/P&gt;</description>
    <pubDate>Thu, 25 Apr 2024 11:38:27 GMT</pubDate>
    <dc:creator>Sayantan</dc:creator>
    <dc:date>2024-04-25T11:38:27Z</dc:date>
    <item>
      <title>How to get API Bearer Token for Power BI Admin apis</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-get-API-Bearer-Token-for-Power-BI-Admin-apis/m-p/2228910#M33352</link>
      <description>&lt;P&gt;I am trying to use &lt;STRONG&gt;&lt;A href="https://login.microsoft.com/" target="_blank" rel="noopener"&gt;https://login.microsoft.com/&lt;/A&gt;&amp;nbsp;&amp;lt;tenet id&amp;gt;/oauth2/token&lt;/STRONG&gt; to get access token for Power BI Admin apis.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I have set up a application and security group in AD and granted all the read access required.&amp;nbsp; &amp;nbsp; I can paste in a token into api call and it works.&amp;nbsp; I can use the above api and return an access token in Postman.&amp;nbsp; &amp;nbsp;How can do it in Power BI using an Service Principal as&amp;nbsp; documented in&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/admin/read-only-apis-service-principal-authentication" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/admin/read-only-apis-service-principal-authentication&lt;/A&gt;&amp;nbsp; &amp;nbsp; I get error message &lt;EM&gt;"We couldn't authenicate with credentials provided. Please try again. "&amp;nbsp; &amp;nbsp;&lt;/EM&gt; I am using Anonymous&amp;nbsp; Access , it only offers 2 options&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://login.microsoft.com/" target="_blank" rel="noopener"&gt;https://login.microsoft.com/&lt;/A&gt;&amp;nbsp;&amp;lt;tenet id&amp;gt;/oauth2&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://login.microsoft.com/" target="_blank" rel="noopener"&gt;https://login.microsoft.com/&lt;/A&gt;&amp;nbsp;&amp;lt;tenet id&amp;gt;/oauth2/token&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions would be helpful.&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 13:46:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-get-API-Bearer-Token-for-Power-BI-Admin-apis/m-p/2228910#M33352</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-14T13:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to get API Bearer Token for Power BI Admin apis</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-get-API-Bearer-Token-for-Power-BI-Admin-apis/m-p/2233756#M33400</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp; Here's one detailed explanation&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=N8qYRSqRz84" target="_blank"&gt;Call Power BI Rest API with Dynamic Access Token From Power BI Desktop |Power BI Rest API | Part Two - YouTube&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:16:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-get-API-Bearer-Token-for-Power-BI-Admin-apis/m-p/2233756#M33400</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-12-11T13:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get API Bearer Token for Power BI Admin apis</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-get-API-Bearer-Token-for-Power-BI-Admin-apis/m-p/2238082#M33438</link>
      <description>&lt;P&gt;Thank you for replying.&amp;nbsp; &amp;nbsp;That is using username and password, I didn't mention that I was trying to use Service Principal set up with application permission and as security group.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 13:44:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-get-API-Bearer-Token-for-Power-BI-Admin-apis/m-p/2238082#M33438</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-14T13:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to get API Bearer Token for Power BI Admin apis</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-get-API-Bearer-Token-for-Power-BI-Admin-apis/m-p/2238261#M33441</link>
      <description>&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=a0FqNLI0VsQ" target="_blank"&gt;Accessing API and web service data using Power Query - by Chris Webb - YouTube&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Minute 37:00&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 14:45:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-get-API-Bearer-Token-for-Power-BI-Admin-apis/m-p/2238261#M33441</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-12-14T14:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to get API Bearer Token for Power BI Admin apis</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-get-API-Bearer-Token-for-Power-BI-Admin-apis/m-p/2250441#M33578</link>
      <description>&lt;P&gt;Thanks for reply.&amp;nbsp; &amp;nbsp;Again I am trying to use Service Principal to connect not my username and password.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 16:33:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-get-API-Bearer-Token-for-Power-BI-Admin-apis/m-p/2250441#M33578</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-21T16:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to get API Bearer Token for Power BI Admin apis</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-get-API-Bearer-Token-for-Power-BI-Admin-apis/m-p/3868182#M51997</link>
      <description>&lt;P&gt;You have said -&lt;/P&gt;&lt;P&gt;I am trying to use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;A href="https://login.microsoft.com/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://login.microsoft.com/&lt;/A&gt;&amp;nbsp;&amp;lt;tenet id&amp;gt;/oauth2/token&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to get access token for Power BI Admin apis.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I have set up a application and security group in AD and granted all the read access required.&amp;nbsp; &amp;nbsp; I can paste in a token into api call and it works.&amp;nbsp; I can use the above api and return an access token in Postman.&lt;BR /&gt;&lt;BR /&gt;How to do it ?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 11:38:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-get-API-Bearer-Token-for-Power-BI-Admin-apis/m-p/3868182#M51997</guid>
      <dc:creator>Sayantan</dc:creator>
      <dc:date>2024-04-25T11:38:27Z</dc:date>
    </item>
  </channel>
</rss>

