<?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 How to get Bearer Token for Power BI Rest API? in Power Query</title>
    <link>https://community.fabric.microsoft.com/t5/Power-Query/How-to-get-Bearer-Token-for-Power-BI-Rest-API/m-p/1017293#M34603</link>
    <description>&lt;P&gt;Hi guys.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a report using Power BI Rest API to get the refresh schedules of datasets so I can setup Alerts which will later be used in Flow to trigger refreshes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've used the documentation from here&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/&lt;/A&gt;&amp;nbsp;and have managed to compile the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to pass authentification and test, I've used the&amp;nbsp;&lt;STRONG&gt;Try It&lt;/STRONG&gt; button to get the&amp;nbsp;&lt;STRONG&gt;Bearer Token&lt;/STRONG&gt; and signed in Annonymously, passing the token through the header, but I am having trouble finding how to get that token automatically. I've been reading through every documentation possible but cannot get my head around how to do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please can you help?&lt;/P&gt;</description>
    <pubDate>Thu, 09 Apr 2020 09:49:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-04-09T09:49:36Z</dc:date>
    <item>
      <title>How to get Bearer Token for Power BI Rest API?</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/How-to-get-Bearer-Token-for-Power-BI-Rest-API/m-p/1017293#M34603</link>
      <description>&lt;P&gt;Hi guys.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a report using Power BI Rest API to get the refresh schedules of datasets so I can setup Alerts which will later be used in Flow to trigger refreshes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've used the documentation from here&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/&lt;/A&gt;&amp;nbsp;and have managed to compile the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to pass authentification and test, I've used the&amp;nbsp;&lt;STRONG&gt;Try It&lt;/STRONG&gt; button to get the&amp;nbsp;&lt;STRONG&gt;Bearer Token&lt;/STRONG&gt; and signed in Annonymously, passing the token through the header, but I am having trouble finding how to get that token automatically. I've been reading through every documentation possible but cannot get my head around how to do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please can you help?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 09:49:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/How-to-get-Bearer-Token-for-Power-BI-Rest-API/m-p/1017293#M34603</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-09T09:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Bearer Token for Power BI Rest API?</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/How-to-get-Bearer-Token-for-Power-BI-Rest-API/m-p/1018329#M34655</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you have to use a custom connector in Power Query to access this API:&amp;nbsp;&lt;A href="https://github.com/migueesc123/PowerBIRESTAPI" target="_blank" rel="noopener"&gt;https://github.com/migueesc123/PowerBIRESTAPI&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 20:04:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/How-to-get-Bearer-Token-for-Power-BI-Rest-API/m-p/1018329#M34655</guid>
      <dc:creator>ImkeF</dc:creator>
      <dc:date>2020-04-09T20:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Bearer Token for Power BI Rest API?</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/How-to-get-Bearer-Token-for-Power-BI-Rest-API/m-p/1024456#M34782</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1522" data-lia-user-login="ImkeF" class="lia-mention lia-mention-user"&gt;ImkeF&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I started using this but was not sure if this might be the right approach. From your response I can be sure thought that I am on the right path.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 09:30:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/How-to-get-Bearer-Token-for-Power-BI-Rest-API/m-p/1024456#M34782</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-14T09:30:05Z</dc:date>
    </item>
  </channel>
</rss>

