<?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: Power BI API - return unexpexted result in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-API-return-unexpexted-result/m-p/2531441#M36243</link>
    <description>&lt;P&gt;I call&amp;nbsp;&lt;A href="https://api.powerbi.com/v1.0/myorg/groups" target="_blank"&gt;api.powerbi.com&lt;/A&gt;&amp;nbsp;and don't receive list of workspaces but only this json:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"@odata.context": "&lt;/SPAN&gt;&lt;A href="http://wabi-north-europe-f-primary-redirect.analysis.windows.net/v1.0/myorg/$metadata#groups" target="_blank" rel="noopener nofollow noreferrer"&gt;http://wabi-north-europe-f-primary-redirect.analysis.windows.net/v1.0/myorg/$metadata#groups&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"@odata.count": 0,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"value": []&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to call directly&amp;nbsp;&lt;A href="http://wabi-north-europe-f-primary-redirect.analysis.windows.net/v1.0/myorg/$metadata#groups" target="_blank"&gt;http://wabi-north-europe-f-primary-redirect.analysis.windows.net/v1.0/myorg/$metadata#groups&lt;/A&gt;&amp;nbsp;and receive:&lt;/P&gt;&lt;P&gt;502 Badgateway - The proxy did not receive a valid response in time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;D.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 22 May 2022 17:21:20 GMT</pubDate>
    <dc:creator>DavidPi</dc:creator>
    <dc:date>2022-05-22T17:21:20Z</dc:date>
    <item>
      <title>Power BI API - return unexpexted result</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-API-return-unexpexted-result/m-p/2528696#M36218</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use Postman and call Power BI API.&lt;/P&gt;&lt;P&gt;First I call&amp;nbsp;&lt;A href="https://login.microsoftonline.com/9b511fda-f0b1-43a5-b06e-1e720f64520a/oauth2/token" target="_blank" rel="noopener"&gt;https://login.microsoftonline.com/9b511fda-f0b1-43a5-b06e-1e720f64520a/oauth2/token&lt;/A&gt;&amp;nbsp;and received token. That is ok.&lt;/P&gt;&lt;P&gt;Then I call&amp;nbsp;&lt;A href="https://api.powerbi.com/v1.0/myorg/groups" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/groups&lt;/A&gt;&amp;nbsp;and recieve this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"@odata.context": "&lt;A href="http://wabi-north-europe-f-primary-redirect.analysis.windows.net/v1.0/myorg/$metadata#groups" target="_blank" rel="noopener"&gt;http://wabi-north-europe-f-primary-redirect.analysis.windows.net/v1.0/myorg/$metadata#groups&lt;/A&gt;",&lt;BR /&gt;"@odata.count": 0,&lt;BR /&gt;"value": []&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Access-Control-Expose-Headers →&lt;/SPAN&gt;&lt;SPAN class=""&gt;RequestId&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Cache-Control →&lt;/SPAN&gt;&lt;SPAN class=""&gt;no-store, must-revalidate, no-cache&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Connection →&lt;/SPAN&gt;&lt;SPAN class=""&gt;Close&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Content-Type →&lt;/SPAN&gt;&lt;SPAN class=""&gt;application/json; odata.metadata=minimal&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Date →&lt;/SPAN&gt;&lt;SPAN class=""&gt;Fri, 20 May 2022 07:17:45 GMT&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;OData-Version →&lt;/SPAN&gt;&lt;SPAN class=""&gt;4.0&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Pragma →&lt;/SPAN&gt;&lt;SPAN class=""&gt;no-cache&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;RequestId →&lt;/SPAN&gt;&lt;SPAN class=""&gt;dde92e15-0829-4a55-9214-c325dd58a90e&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Strict-Transport-Security →&lt;/SPAN&gt;&lt;SPAN class=""&gt;max-age=31536000; includeSubDomains&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Transfer-Encoding →&lt;/SPAN&gt;&lt;SPAN class=""&gt;chunked&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Via →&lt;/SPAN&gt;&lt;SPAN class=""&gt;Proxy&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;X-Content-Type-Options →&lt;/SPAN&gt;&lt;SPAN class=""&gt;nosniff&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;X-Frame-Options →&lt;/SPAN&gt;&lt;SPAN class=""&gt;deny&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;home-cluster-uri →&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://wabi-north-europe-f-primary-redirect.analysis.windows.net/" target="_blank" rel="noopener"&gt;https://wabi-north-europe-f-primary-redirect.analysis.windows.net/&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;request-redirected →&lt;/SPAN&gt;&lt;SPAN class=""&gt;true&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;What is the problem?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;When I try to call&amp;nbsp;&lt;A href="http://wabi-north-europe-f-primary-redirect.analysis.windows.net/v1.0/myorg/$metadata#groups" target="_blank" rel="noopener"&gt;http://wabi-north-europe-f-primary-redirect.analysis.windows.net/v1.0/myorg/$metadata#groups&lt;/A&gt;&amp;nbsp;- I receive time out message.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Thx.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;David&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 20 May 2022 08:21:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-API-return-unexpexted-result/m-p/2528696#M36218</guid>
      <dc:creator>DavidPi</dc:creator>
      <dc:date>2022-05-20T08:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI API - return unexpexted result</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-API-return-unexpexted-result/m-p/2530906#M36241</link>
      <description>&lt;P&gt;please post the actual error message&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2022 21:01:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-API-return-unexpexted-result/m-p/2530906#M36241</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2022-05-21T21:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI API - return unexpexted result</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-API-return-unexpexted-result/m-p/2531441#M36243</link>
      <description>&lt;P&gt;I call&amp;nbsp;&lt;A href="https://api.powerbi.com/v1.0/myorg/groups" target="_blank"&gt;api.powerbi.com&lt;/A&gt;&amp;nbsp;and don't receive list of workspaces but only this json:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"@odata.context": "&lt;/SPAN&gt;&lt;A href="http://wabi-north-europe-f-primary-redirect.analysis.windows.net/v1.0/myorg/$metadata#groups" target="_blank" rel="noopener nofollow noreferrer"&gt;http://wabi-north-europe-f-primary-redirect.analysis.windows.net/v1.0/myorg/$metadata#groups&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"@odata.count": 0,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"value": []&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to call directly&amp;nbsp;&lt;A href="http://wabi-north-europe-f-primary-redirect.analysis.windows.net/v1.0/myorg/$metadata#groups" target="_blank"&gt;http://wabi-north-europe-f-primary-redirect.analysis.windows.net/v1.0/myorg/$metadata#groups&lt;/A&gt;&amp;nbsp;and receive:&lt;/P&gt;&lt;P&gt;502 Badgateway - The proxy did not receive a valid response in time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;D.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 May 2022 17:21:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-API-return-unexpexted-result/m-p/2531441#M36243</guid>
      <dc:creator>DavidPi</dc:creator>
      <dc:date>2022-05-22T17:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI API - return unexpexted result</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-API-return-unexpexted-result/m-p/2531467#M36244</link>
      <description>&lt;P&gt;You're supposed to cal the official API at&amp;nbsp;&lt;A href="https://api.powerbi.com/v1.0/myorg/groups" target="_blank" rel="noopener nofollow noreferrer"&gt;https://api.powerbi.com/v1.0/myorg/groups&lt;/A&gt;&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/groups/get-groups" target="_blank"&gt;Groups - Get Groups - REST API (Power BI Power BI REST APIs) | Microsoft Docs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you see the same error message there?&amp;nbsp; Do you maybe not have access to any workspaces in your tenant?&lt;/P&gt;</description>
      <pubDate>Sun, 22 May 2022 18:21:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-API-return-unexpexted-result/m-p/2531467#M36244</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2022-05-22T18:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI API - return unexpexted result</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-API-return-unexpexted-result/m-p/2532572#M36253</link>
      <description>&lt;P&gt;I call &lt;SPAN&gt;official API at&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://api.powerbi.com/v1.0/myorg/groups" target="_blank" rel="noopener nofollow noreferrer"&gt;https://api.powerbi.com/v1.0/myorg/groups&lt;/A&gt;&amp;nbsp;but I receive only this JSON:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"@odata.context": "&lt;/SPAN&gt;&lt;A href="http://wabi-north-europe-f-primary-redirect.analysis.windows.net/v1.0/myorg/$metadata#groups" target="_blank" rel="noopener nofollow noreferrer"&gt;http://wabi-north-europe-f-primary-redirect.analysis.windows.net/v1.0/myorg/$metadata#groups&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"@odata.count": 0,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"value": []&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I do not have access to no workspaces I would expect empty list.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;D.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 08:32:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-API-return-unexpexted-result/m-p/2532572#M36253</guid>
      <dc:creator>DavidPi</dc:creator>
      <dc:date>2022-05-23T08:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI API - return unexpexted result</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-API-return-unexpexted-result/m-p/2532649#M36255</link>
      <description>&lt;P&gt;I see, maybe thats why&amp;nbsp;@odata.count: 0 - our app don't have permission.&lt;/P&gt;&lt;P&gt;I am going to ask our tenant admins.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 08:58:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-API-return-unexpexted-result/m-p/2532649#M36255</guid>
      <dc:creator>DavidPi</dc:creator>
      <dc:date>2022-05-23T08:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI API - return unexpexted result</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-API-return-unexpexted-result/m-p/2532940#M36263</link>
      <description>&lt;P&gt;Yes, it was problem of permission. I add security group (which contains service principal) as admin to my workspaces and it starts working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 10:08:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-API-return-unexpexted-result/m-p/2532940#M36263</guid>
      <dc:creator>DavidPi</dc:creator>
      <dc:date>2022-05-23T10:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI API - return unexpexted result</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-API-return-unexpexted-result/m-p/2533248#M36264</link>
      <description>&lt;P&gt;There is another API call "Get Groups as Admin".&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 11:39:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-API-return-unexpexted-result/m-p/2533248#M36264</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2022-05-23T11:39:10Z</dc:date>
    </item>
  </channel>
</rss>

