cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Meshare
Helper I
Helper I

Error while fetching huge apps

Hi all,

In an environment we have more than 1000 apps.To fetch the apps with connection reference we are using GetAdminsApp api from PowerAppsforAdmins .in the api we get split token to get next batch the value but we are getting below error

 

PowerAppsforAdmins.GetAdminApps failed {code:" invalid continuation token" message : invalid continuation token in request uri.

 

Please help

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-siky-msft
Community Support
Community Support

Hi @Meshare ,

 

Could you please share more details about your issue?

Are you saying the $skiptoken parameter in PowerAppsforAdmins.GetAdminApps function? How did you define it?

The $skiptoken parameter contains an opaque token that references the next page of results and is returned in the URL provided in the @odata.nextLink property in the response.

For instance, the below code mean in this call only top 1 app is returned, if you extract the skiptoken in the nextlink, and apply it into the $skiptoken parameter, then it will return the response from the next page(that is, from the second app).

Snipaste_2020-11-03_15-22-17.png

 

Hope this helps.

Sik

 

 

View solution in original post

1 REPLY 1
v-siky-msft
Community Support
Community Support

Hi @Meshare ,

 

Could you please share more details about your issue?

Are you saying the $skiptoken parameter in PowerAppsforAdmins.GetAdminApps function? How did you define it?

The $skiptoken parameter contains an opaque token that references the next page of results and is returned in the URL provided in the @odata.nextLink property in the response.

For instance, the below code mean in this call only top 1 app is returned, if you extract the skiptoken in the nextlink, and apply it into the $skiptoken parameter, then it will return the response from the next page(that is, from the second app).

Snipaste_2020-11-03_15-22-17.png

 

Hope this helps.

Sik

 

 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (1,561)