<?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 Generating Authorization: Bearer token for calling Power BI Rest API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Generating-Authorization-Bearer-token-for-calling-Power-BI-Rest/m-p/3378080#M43867</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I&amp;nbsp; called a Power BI Rest API via the try it page in the web site (&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/admin/datasets-get-datasets-as-admin" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/admin/datasets-get-datasets-as-admin&lt;/A&gt; ),&lt;BR /&gt;Microsoft is generating a token that starts with:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Authorization&lt;/SPAN&gt;: Bearer ey...&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I need to call Power BI Rest APIs from a dataset/dataflow. For that reason I need to generate&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;Authorization&lt;/SPAN&gt;: Bearer token.&amp;nbsp;&lt;BR /&gt;Which API should I call for generating this token?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 14 Aug 2023 00:37:57 GMT</pubDate>
    <dc:creator>innocence84</dc:creator>
    <dc:date>2023-08-14T00:37:57Z</dc:date>
    <item>
      <title>Generating Authorization: Bearer token for calling Power BI Rest API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generating-Authorization-Bearer-token-for-calling-Power-BI-Rest/m-p/3378080#M43867</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I&amp;nbsp; called a Power BI Rest API via the try it page in the web site (&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/admin/datasets-get-datasets-as-admin" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/admin/datasets-get-datasets-as-admin&lt;/A&gt; ),&lt;BR /&gt;Microsoft is generating a token that starts with:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Authorization&lt;/SPAN&gt;: Bearer ey...&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I need to call Power BI Rest APIs from a dataset/dataflow. For that reason I need to generate&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;Authorization&lt;/SPAN&gt;: Bearer token.&amp;nbsp;&lt;BR /&gt;Which API should I call for generating this token?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Aug 2023 00:37:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generating-Authorization-Bearer-token-for-calling-Power-BI-Rest/m-p/3378080#M43867</guid>
      <dc:creator>innocence84</dc:creator>
      <dc:date>2023-08-14T00:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Generating Authorization: Bearer token for calling Power BI Rest API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generating-Authorization-Bearer-token-for-calling-Power-BI-Rest/m-p/3380171#M43883</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="430173" data-lia-user-login="innocence84" class="lia-mention lia-mention-user"&gt;innocence84&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can refer the following links to generate the token:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-tokens?tabs=embed-for-customers" target="_blank"&gt;Permission tokens needed for embedding a Power BI app - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Powershell method:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Note:&lt;/FONT&gt; Make sure you have installed the related modules: &lt;A href="https://learn.microsoft.com/en-us/powershell/module/microsoftpowerbimgmt.profile/?view=powerbi-ps" data-linktype="relative-path" target="_blank"&gt;MicrosoftPowerBIMgmt.Profile&lt;/A&gt;&amp;nbsp;before call the below command.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/powershell/module/microsoftpowerbimgmt.profile/get-powerbiaccesstoken?view=powerbi-ps" target="_blank"&gt;Get-PowerBIAccessToken (MicrosoftPowerBIMgmt.Profile) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Get-PowerBIAccessToken&lt;/LI-CODE&gt;
&lt;P&gt;&lt;STRONG&gt;Postman method:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-using-postman-generate-embed-token/m-p/310054" target="_blank"&gt;Solved: Power BI REST API using postman - generate embed t... - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://helicaltech.com/access-the-power-bi-rest-apis-using-postman/" target="_blank"&gt;Access the Power BI Rest APIs using Postman - Helical IT Solutions Pvt Ltd (helicaltech.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 06:19:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generating-Authorization-Bearer-token-for-calling-Power-BI-Rest/m-p/3380171#M43883</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-15T06:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Generating Authorization: Bearer token for calling Power BI Rest API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Generating-Authorization-Bearer-token-for-calling-Power-BI-Rest/m-p/3380207#M43885</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;We want to call the Power BI rest API from a Power BI data flow. So it's not an embedded app. We also want to call via Azure Active directory app registration instead of user/password. How can we call Power BI rest API from a dataflow by using app registration?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 07:01:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Generating-Authorization-Bearer-token-for-calling-Power-BI-Rest/m-p/3380207#M43885</guid>
      <dc:creator>innocence84</dc:creator>
      <dc:date>2023-08-15T07:01:13Z</dc:date>
    </item>
  </channel>
</rss>

