<?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: Reports API returns 401 (unauthorized) in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Reports-API-returns-401-unauthorized/m-p/212595#M6711</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/35650"&gt;@initsoftware&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;We are using the API through JavaScript and accessing "&lt;A href="https://api.powerbi.com/v1.0/myorg/reports" target="_blank"&gt;https://api.powerbi.com/v1.0/myorg/reports&lt;/A&gt;" which returns a 401 (Unauthorized).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However for example using "&lt;A href="https://api.powerbi.com/v1.0/myorg/groups" target="_blank"&gt;https://api.powerbi.com/v1.0/myorg/groups&lt;/A&gt;" works and returns the groups of the powerbi user so our implementation should be correct. The app has all required permissions set in azure portal including "&lt;SPAN&gt;Read and Write all Reports".&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Any idea what could be the issue here?&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/35650"&gt;@initsoftware&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Could you register a new APP following this tutorial &lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-migrate-from-powerbi-embedded/#app-registration-and-permissions" target="_self"&gt;App registration and permissions&lt;/A&gt;&amp;nbsp;and retry? I'm not reproducing your issue when having the app registered as the link.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jul 2017 01:45:18 GMT</pubDate>
    <dc:creator>Eric_Zhang</dc:creator>
    <dc:date>2017-07-17T01:45:18Z</dc:date>
    <item>
      <title>Reports API returns 401 (unauthorized)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Reports-API-returns-401-unauthorized/m-p/209686#M6619</link>
      <description>&lt;P&gt;We are using the API through JavaScript and accessing "&lt;A href="https://api.powerbi.com/v1.0/myorg/reports" target="_blank"&gt;https://api.powerbi.com/v1.0/myorg/reports&lt;/A&gt;" which returns a 401 (Unauthorized).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However for example using "&lt;A href="https://api.powerbi.com/v1.0/myorg/groups" target="_blank"&gt;https://api.powerbi.com/v1.0/myorg/groups&lt;/A&gt;" works and returns the groups of the powerbi user so our implementation should be correct. The app has all required permissions set in azure portal including "&lt;SPAN&gt;Read and Write all Reports".&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any idea what could be the issue here?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 12:42:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Reports-API-returns-401-unauthorized/m-p/209686#M6619</guid>
      <dc:creator>initsoftware</dc:creator>
      <dc:date>2017-07-11T12:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Reports API returns 401 (unauthorized)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Reports-API-returns-401-unauthorized/m-p/212595#M6711</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/35650"&gt;@initsoftware&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;We are using the API through JavaScript and accessing "&lt;A href="https://api.powerbi.com/v1.0/myorg/reports" target="_blank"&gt;https://api.powerbi.com/v1.0/myorg/reports&lt;/A&gt;" which returns a 401 (Unauthorized).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However for example using "&lt;A href="https://api.powerbi.com/v1.0/myorg/groups" target="_blank"&gt;https://api.powerbi.com/v1.0/myorg/groups&lt;/A&gt;" works and returns the groups of the powerbi user so our implementation should be correct. The app has all required permissions set in azure portal including "&lt;SPAN&gt;Read and Write all Reports".&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Any idea what could be the issue here?&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/35650"&gt;@initsoftware&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Could you register a new APP following this tutorial &lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-migrate-from-powerbi-embedded/#app-registration-and-permissions" target="_self"&gt;App registration and permissions&lt;/A&gt;&amp;nbsp;and retry? I'm not reproducing your issue when having the app registered as the link.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 01:45:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Reports-API-returns-401-unauthorized/m-p/212595#M6711</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-07-17T01:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reports API returns 401 (unauthorized)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Reports-API-returns-401-unauthorized/m-p/218403#M6871</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/6971"&gt;@Eric_Zhang&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;looks like it is working now although I haven't changed anything in my implementation. Did anything change on your end? Now reports and dashboards sucesfully return values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What would be the be the best way to access the data behind a tile from a dashboard? I am able to get the metadata through myorg/dashboards/dashboardID/tiles/tileID but what I'm really looking for is the data underneath.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help and hopefully you can point me in the&amp;nbsp;right direction.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 09:19:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Reports-API-returns-401-unauthorized/m-p/218403#M6871</guid>
      <dc:creator>initsoftware</dc:creator>
      <dc:date>2017-07-25T09:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reports API returns 401 (unauthorized)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Reports-API-returns-401-unauthorized/m-p/218523#M6873</link>
      <description>&lt;P&gt;For any interested, I found my answer here: &lt;A href="https://community.powerbi.com/t5/Service/How-to-identify-which-data-set-is-used-by-a-report-and-how-to/td-p/23062&amp;nbsp;" target="_blank"&gt;https://community.powerbi.com/t5/Service/How-to-identify-which-data-set-is-used-by-a-report-and-how-to/td-p/23062&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunatly it also seems that the API can only access datasets which have been created with the API (see here&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Developer/Power-BI-REST-API-Table-and-Row-query-return-with-404-error/m-p/168790" target="_blank"&gt;https://community.powerbi.com/t5/Developer/Power-BI-REST-API-Table-and-Row-query-return-with-404-error/m-p/168790&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This seems like a huge oversight and we will probably look for some other solution for our case.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 11:26:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Reports-API-returns-401-unauthorized/m-p/218523#M6873</guid>
      <dc:creator>initsoftware</dc:creator>
      <dc:date>2017-07-25T11:26:15Z</dc:date>
    </item>
  </channel>
</rss>

