<?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: PowerBI Developer Example - Authentication Error in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Developer-Example-Authentication-Error/m-p/234294#M7378</link>
    <description>&lt;P&gt;&lt;SPAN&gt;What is a "native" app? When I login to Azure Portal, I don't see "native" app, I only see Web App or Mobile App.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="azure_portal_app.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/55549i8C6E157B2B801E81/image-size/large?v=v2&amp;amp;px=999" role="button" title="azure_portal_app.PNG" alt="azure_portal_app.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Aug 2017 15:47:02 GMT</pubDate>
    <dc:creator>alex_cook</dc:creator>
    <dc:date>2017-08-18T15:47:02Z</dc:date>
    <item>
      <title>PowerBI Developer Example - Authentication Error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Developer-Example-Authentication-Error/m-p/203187#M6480</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am following the example at:&amp;nbsp;&lt;A href="https://github.com/Microsoft/PowerBI-Developer-Samples/tree/master/App%20Owns%20Data" target="_blank"&gt;https://github.com/Microsoft/PowerBI-Developer-Samples/tree/master/App%20Owns%20Data&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Edit: specifically /App Owns Data/PowerBIEmbedded_AppOwnsData/Controllers/EmbedReport&lt;/P&gt;&lt;PRE&gt;var authenticationResult = await authenticationContext.AcquireTokenAsync(resourceUrl, clientId, credential);

&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After plugging in user credentials and ClientId I am getting the following error response to the access token request:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H2&gt;&lt;I&gt;{"error":"invalid_client","error_description":"AADSTS70002: The request body must contain the following parameter: 'client_secret or client_assertion'..."}&lt;/I&gt;&lt;/H2&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the application id from Azure Portal -&amp;gt; App Registrations as the ClientId. I've set appropriate app permissions (&lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-embedding-content/#appreg" target="_blank"&gt;https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-embedding-content/#appreg&lt;/A&gt;) and the user credentials work fine and have permission.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems all of this stuff is in heavy flux. Please help get these dev examples working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 21:22:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Developer-Example-Authentication-Error/m-p/203187#M6480</guid>
      <dc:creator>jgoldsmith</dc:creator>
      <dc:date>2017-06-28T21:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Developer Example - Authentication Error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Developer-Example-Authentication-Error/m-p/203532#M6491</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/34479"&gt;@jgoldsmith&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;The APP Owns Data demo requires a Native app, please ensure that you're not using a Web App.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 580px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/48049iA93EC98B68752AB9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 07:51:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Developer-Example-Authentication-Error/m-p/203532#M6491</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-06-29T07:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Developer Example - Authentication Error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Developer-Example-Authentication-Error/m-p/234294#M7378</link>
      <description>&lt;P&gt;&lt;SPAN&gt;What is a "native" app? When I login to Azure Portal, I don't see "native" app, I only see Web App or Mobile App.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="azure_portal_app.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/55549i8C6E157B2B801E81/image-size/large?v=v2&amp;amp;px=999" role="button" title="azure_portal_app.PNG" alt="azure_portal_app.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 15:47:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Developer-Example-Authentication-Error/m-p/234294#M7378</guid>
      <dc:creator>alex_cook</dc:creator>
      <dc:date>2017-08-18T15:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Developer Example - Authentication Error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Developer-Example-Authentication-Error/m-p/249116#M7733</link>
      <description>&lt;P&gt;"The demo requires a native app" is something thats&amp;nbsp;sort of hard to find in any of the documentation. I got this to work by using &lt;A href="http://dev.powerbi.com/apps" target="_self"&gt;dev.powerbi.com/apps&lt;/A&gt; and&amp;nbsp;&lt;A href="http://radacad.com/integrate-power-bi-into-your-application-part-1-register-your-app" target="_self"&gt;http://radacad.com/integrate-power-bi-into-your-application-part-1-register-your-app&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 09:40:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Developer-Example-Authentication-Error/m-p/249116#M7733</guid>
      <dc:creator>svenkle</dc:creator>
      <dc:date>2017-09-11T09:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Developer Example - Authentication Error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Developer-Example-Authentication-Error/m-p/285986#M8442</link>
      <description>&lt;P&gt;How did you get this solved?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im running the example code locally - it starts as a web app.&amp;nbsp; I get the same error.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Oct 2017 23:47:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Developer-Example-Authentication-Error/m-p/285986#M8442</guid>
      <dc:creator>leewsimpson</dc:creator>
      <dc:date>2017-10-21T23:47:08Z</dc:date>
    </item>
  </channel>
</rss>

