Sep 17 2021 02:43 PM
Getting list of universal printers from Azure by next code:
var queryOptions = new List<QueryOption> { new QueryOption("$top", "300") }; var printerItems = await ApplicationGraphClient.Print.Printers .Request(queryOptions) .Filter(filter) .Select(x => new { x.Id, x.DisplayName }) .GetAsync();
If I increase above 100 like 300 - it still returns 100 items.
Is this hardcoded for UP API?
If I use 10 - it works - so code is valid.
P.S. I know I can use pagination but I'm interested to increase the page size
Oct 30 2021 12:42 AM
Oct 31 2021 10:23 PM
Nov 01 2021 05:58 PM
@ktchoumak Before getting printers list, we need to perform multiple operations including checking user access. These operations can be time consuming - thats why we ask partners to pull the list in batches (with pagination).
Thanks
Saurabh