<?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: Unable to Retrieve Dataset info from the API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Unable-to-Retrieve-Dataset-info-from-the-API/m-p/594018#M18087</link>
    <description>&lt;P&gt;Looks like it was a licensing issue where i lost access to powerbi pro on my service account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Working as intended now.&lt;/P&gt;&lt;P&gt;Thanks for the help&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jan 2019 19:29:27 GMT</pubDate>
    <dc:creator>sjc4062</dc:creator>
    <dc:date>2019-01-02T19:29:27Z</dc:date>
    <item>
      <title>Unable to Retrieve Dataset info from the API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unable-to-Retrieve-Dataset-info-from-the-API/m-p/587124#M17937</link>
      <description>&lt;P&gt;Hello all!&lt;/P&gt;&lt;P&gt;I am attempting to get info on the datasets within a specific workspace using the API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to get the bearer token without any issues. It returns with the following permissions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"scope": "Content.Create Dashboard.Read.All Dashboard.ReadWrite.All Data.Alter_Any Dataset.Read.All Dataset.ReadWrite.All Group.Read Group.Read.All Metadata.View_Any Report.Read.All Report.ReadWrite.All",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to run: &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; in order to get a list of the groups i am a member of.&lt;/P&gt;&lt;P&gt;But if i use the groupID of any of the results from that&lt;BR /&gt;&lt;A href="https://api.powerbi.com/v1.0/myorg/groups/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/datasets" target="_blank"&gt;https://api.powerbi.com/v1.0/myorg/groups/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/datasets&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get an error that i am not authorized.&lt;/P&gt;&lt;P&gt;According to the documentation provided by microsoft- &lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasetsingroup" target="_blank"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasetsingroup&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The only required items are:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Required scope&lt;/STRONG&gt;: Dataset.ReadWrite.All or Dataset.Read.All&lt;/P&gt;&lt;P&gt;And my bearer token states i have that access.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error&lt;/P&gt;&lt;P&gt;Status: 401 unauthorized&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone seen this before?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 19:57:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unable-to-Retrieve-Dataset-info-from-the-API/m-p/587124#M17937</guid>
      <dc:creator>sjc4062</dc:creator>
      <dc:date>2018-12-17T19:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Retrieve Dataset info from the API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unable-to-Retrieve-Dataset-info-from-the-API/m-p/591381#M18010</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/42931"&gt;@sjc4062&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description, it should be good.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. How did you do this?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Was the token still valid?&lt;/P&gt;
&lt;P&gt;3. What did the token look like? Can you share the format? For example,&lt;/P&gt;
&lt;P&gt;Access token:&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;eyJ&lt;/STRONG&gt;0eXAiOiJKV1QiLCJhbGciOiJSUz*******************&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Embedded token:&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;H4s&lt;/STRONG&gt;IAAAAAAAEAB2Wta7FCpJF*****************&lt;/P&gt;
&lt;P&gt;4. Can you try the other App workspaces?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Dale&lt;/P&gt;</description>
      <pubDate>Wed, 26 Dec 2018 09:44:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unable-to-Retrieve-Dataset-info-from-the-API/m-p/591381#M18010</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-12-26T09:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Retrieve Dataset info from the API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unable-to-Retrieve-Dataset-info-from-the-API/m-p/594018#M18087</link>
      <description>&lt;P&gt;Looks like it was a licensing issue where i lost access to powerbi pro on my service account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Working as intended now.&lt;/P&gt;&lt;P&gt;Thanks for the help&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 19:29:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unable-to-Retrieve-Dataset-info-from-the-API/m-p/594018#M18087</guid>
      <dc:creator>sjc4062</dc:creator>
      <dc:date>2019-01-02T19:29:27Z</dc:date>
    </item>
  </channel>
</rss>

