<?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: Admin - Groups GetGroupUsersAsAdmin - Too Many Requests in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Admin-Groups-GetGroupUsersAsAdmin-Too-Many-Requests/m-p/3383864#M43928</link>
    <description>&lt;P&gt;Either acquire a refresh token, or brute force it and request a new bearer token each time you start a batch.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Aug 2023 22:31:21 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2023-08-16T22:31:21Z</dc:date>
    <item>
      <title>Admin - Groups GetGroupUsersAsAdmin - Too Many Requests</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Admin-Groups-GetGroupUsersAsAdmin-Too-Many-Requests/m-p/3380764#M43899</link>
      <description>&lt;P&gt;Hey, I am trying to get the data from this powerBI API call "&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/admin/groups-get-group-users-as-admin&amp;quot;" target="_blank"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/admin/groups-get-group-users-as-admin"&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;The documentation says there is a limit of m&lt;SPAN&gt;aximum 200 requests per hour for this API. But my powerBI ecosystem has more than 500 workspaces and I want to extract the data for all of them. So, to overcome this I introduced an 1 hour delay on my API call and get it in batches.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What I did not anticipate was, after 1 hour of delay when the program again tries get the next batch of workspaces. The program errors out saying the "access token" has expired.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I believe there should be a work around this and there any other developers in the community that have faced this issue.&lt;BR /&gt;I would really appreciate any help or guidance here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 13:56:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Admin-Groups-GetGroupUsersAsAdmin-Too-Many-Requests/m-p/3380764#M43899</guid>
      <dc:creator>waquarkhalid</dc:creator>
      <dc:date>2023-08-15T13:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Admin - Groups GetGroupUsersAsAdmin - Too Many Requests</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Admin-Groups-GetGroupUsersAsAdmin-Too-Many-Requests/m-p/3383864#M43928</link>
      <description>&lt;P&gt;Either acquire a refresh token, or brute force it and request a new bearer token each time you start a batch.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 22:31:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Admin-Groups-GetGroupUsersAsAdmin-Too-Many-Requests/m-p/3383864#M43928</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-08-16T22:31:21Z</dc:date>
    </item>
  </channel>
</rss>

