<?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: Calling Power BI API from Azure Logic App in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Calling-Power-BI-API-from-Azure-Logic-App/m-p/2475082#M35701</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/256993"&gt;@MrRichDean&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;what kind of Power BI Rest API request are you using? If you want to use Admin API's with application your application has to have API permissions without &lt;SPAN class=""&gt;Admin consent required option.&lt;/SPAN&gt;&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="Marky_0-1650893187988.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/704519i678D8591E7C039A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Marky_0-1650893187988.png" alt="Marky_0-1650893187988.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Instead of Yes in my picture you should have No.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Mon, 25 Apr 2022 13:27:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-04-25T13:27:41Z</dc:date>
    <item>
      <title>Calling Power BI API from Azure Logic App</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Calling-Power-BI-API-from-Azure-Logic-App/m-p/1368956#M25694</link>
      <description>&lt;P&gt;Good morning / afternoon / evening&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would anyone be able to list the precise steps I need to perform in order to fire off a HTTP request to the Power BI api from within an azure logic app?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been attempting to follow the articles below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://carldesouza.com/how-to-register-an-azure-app-to-use-with-power-bi/" target="_blank" rel="noopener"&gt;https://carldesouza.com/how-to-register-an-azure-app-to-use-with-power-bi/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://carldesouza.com/how-to-authenticate-and-use-the-power-bi-api-inside-power-automate/" target="_blank" rel="noopener"&gt;https://carldesouza.com/how-to-authenticate-and-use-the-power-bi-api-inside-power-automate/&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To date, I haven't even got as far as to getting the access token and I am finding it rather infuriating!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, I am stuck with the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"error"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"invalid_grant"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"error_description"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"AADSTS65001:&amp;nbsp;The&amp;nbsp;user&amp;nbsp;or&amp;nbsp;administrator&amp;nbsp;has&amp;nbsp;not&amp;nbsp;consented&amp;nbsp;to&amp;nbsp;use&amp;nbsp;the&amp;nbsp;application&amp;nbsp;with&amp;nbsp;ID&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;However, rather than looking at this specific error, I am thinking I may have to take a few steps back, hence my original question.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;If anyone can point me in the right direction or give me some pointers, I'd be most grateful.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Sep 2020 12:36:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Calling-Power-BI-API-from-Azure-Logic-App/m-p/1368956#M25694</guid>
      <dc:creator>MrRichDean</dc:creator>
      <dc:date>2020-09-14T12:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Power BI API from Azure Logic App</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Calling-Power-BI-API-from-Azure-Logic-App/m-p/1369116#M25695</link>
      <description>&lt;P&gt;the error message is pretty accurate. You first need to register the app, and make sure to specify the correct desired permission scope. Then your admin needs to agree to that app request.&amp;nbsp; Then you can use the app's authentication method to run your Power BI API calls.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 13:35:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Calling-Power-BI-API-from-Azure-Logic-App/m-p/1369116#M25695</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-09-14T13:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Power BI API from Azure Logic App</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Calling-Power-BI-API-from-Azure-Logic-App/m-p/1369166#M25696</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you explain what you mean regarding the correct desired permission scope? How does my admin agree to the app request? Am I even correct in that I need to get an access token before calling the Power BI API ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I am doing the following call to get the access token :&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="MrRichDean_0-1600091132155.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/355284iA1D5551F95481381/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MrRichDean_0-1600091132155.png" alt="MrRichDean_0-1600091132155.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;MY admin believes they have agreed to eveything he can find - what are they missing?!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 13:46:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Calling-Power-BI-API-from-Azure-Logic-App/m-p/1369166#M25696</guid>
      <dc:creator>MrRichDean</dc:creator>
      <dc:date>2020-09-14T13:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Power BI API from Azure Logic App</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Calling-Power-BI-API-from-Azure-Logic-App/m-p/1369532#M25697</link>
      <description>&lt;P&gt;You went through here, right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/apps" target="_blank"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/apps&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 15:40:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Calling-Power-BI-API-from-Azure-Logic-App/m-p/1369532#M25697</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-09-14T15:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Power BI API from Azure Logic App</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Calling-Power-BI-API-from-Azure-Logic-App/m-p/1371113#M25709</link>
      <description>&lt;P class="lia-align-left"&gt;Good morning&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;I'm not 100% sure if my admin did &lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/create-an-azure-active-directory-tenant" target="_self"&gt;this part&lt;/A&gt;&amp;nbsp;of the process so I shall check with them and let this post know either way.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 08:09:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Calling-Power-BI-API-from-Azure-Logic-App/m-p/1371113#M25709</guid>
      <dc:creator>MrRichDean</dc:creator>
      <dc:date>2020-09-15T08:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Power BI API from Azure Logic App</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Calling-Power-BI-API-from-Azure-Logic-App/m-p/2475082#M35701</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/256993"&gt;@MrRichDean&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;what kind of Power BI Rest API request are you using? If you want to use Admin API's with application your application has to have API permissions without &lt;SPAN class=""&gt;Admin consent required option.&lt;/SPAN&gt;&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="Marky_0-1650893187988.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/704519i678D8591E7C039A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Marky_0-1650893187988.png" alt="Marky_0-1650893187988.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Instead of Yes in my picture you should have No.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 25 Apr 2022 13:27:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Calling-Power-BI-API-from-Azure-Logic-App/m-p/2475082#M35701</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-25T13:27:41Z</dc:date>
    </item>
  </channel>
</rss>

