<?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: [ISSUE] Power BI REST API - GetDashboardsAsAdmin in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/ISSUE-Power-BI-REST-API-GetDashboardsAsAdmin/m-p/4825207#M12324</link>
    <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1340679"&gt;@tayloramy&lt;/a&gt;, that is very helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have found the $top parameter is necessary much more than the documentation mentions which causes some confusion. I appreciate your help!&lt;/P&gt;</description>
    <pubDate>Sat, 13 Sep 2025 16:41:08 GMT</pubDate>
    <dc:creator>zhhorton</dc:creator>
    <dc:date>2025-09-13T16:41:08Z</dc:date>
    <item>
      <title>[ISSUE] Power BI REST API - GetDashboardsAsAdmin</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/ISSUE-Power-BI-REST-API-GetDashboardsAsAdmin/m-p/4824811#M12313</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In an attempt to retrieve some information from the Power BI REST API (specifically, the GetDashboardsAsAdmin), we have run into an issue where the &lt;EM&gt;&lt;STRONG&gt;expand&lt;/STRONG&gt; &lt;/EM&gt;parameter is not accepted and will return a 400 Client Error: Bad request for url. Removal of the &lt;FONT color="#3366FF"&gt;&lt;U&gt;?$expand=tiles&lt;/U&gt;&lt;/FONT&gt; returns the expected result, so it is not any other issue aside from the format of the GET request URL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Link to referenced documentation (&lt;FONT color="#3366FF"&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/admin/dashboards-get-dashboards-as-admin#admindashboards:~:text=Description-,%24expand,which%20will%20be%20expanded%20inline%20in%20the%20response.%20Supports%20tiles.,-%24filter" target="_blank" rel="noopener"&gt;&lt;FONT color="#3366FF"&gt;here&lt;/FONT&gt;&lt;/A&gt;&lt;/FONT&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone else run into this issue and found a way around it? The documentation provided may no longer be up to date. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2025 19:22:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/ISSUE-Power-BI-REST-API-GetDashboardsAsAdmin/m-p/4824811#M12313</guid>
      <dc:creator>zhhorton</dc:creator>
      <dc:date>2025-09-12T19:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: [ISSUE] Power BI REST API - GetDashboardsAsAdmin</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/ISSUE-Power-BI-REST-API-GetDashboardsAsAdmin/m-p/4824816#M12314</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1353884"&gt;@zhhorton&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;WHen using $expand, a $top also needs to be specified.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my enviornment:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;GET https://api.powerbi.com/v1.0/myorg/admin/dashboards?%24expand=tiles&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;returns a 400 response with this body:&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;{
  &lt;SPAN class=""&gt;"error"&lt;/SPAN&gt;: {
    &lt;SPAN class=""&gt;"code"&lt;/SPAN&gt;: &lt;SPAN class=""&gt;"InvalidRequest"&lt;/SPAN&gt;,
    &lt;SPAN class=""&gt;"message"&lt;/SPAN&gt;: &lt;SPAN class=""&gt;"This API expects $top query option to be provided."&lt;/SPAN&gt;
  }
}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Where as this:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;GET &lt;A href="https://api.powerbi.com/v1.0/myorg/admin/dashboards?%24expand=tiles&amp;amp;%24top=10" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/admin/dashboards?%24expand=tiles&amp;amp;%24top=10&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;returns a 200 code with data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, please mark this as the solution.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2025 19:26:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/ISSUE-Power-BI-REST-API-GetDashboardsAsAdmin/m-p/4824816#M12314</guid>
      <dc:creator>tayloramy</dc:creator>
      <dc:date>2025-09-12T19:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: [ISSUE] Power BI REST API - GetDashboardsAsAdmin</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/ISSUE-Power-BI-REST-API-GetDashboardsAsAdmin/m-p/4825207#M12324</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1340679"&gt;@tayloramy&lt;/a&gt;, that is very helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have found the $top parameter is necessary much more than the documentation mentions which causes some confusion. I appreciate your help!&lt;/P&gt;</description>
      <pubDate>Sat, 13 Sep 2025 16:41:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/ISSUE-Power-BI-REST-API-GetDashboardsAsAdmin/m-p/4825207#M12324</guid>
      <dc:creator>zhhorton</dc:creator>
      <dc:date>2025-09-13T16:41:08Z</dc:date>
    </item>
  </channel>
</rss>

