active-directory-dotnetcore-daemon-v2 icon indicating copy to clipboard operation
active-directory-dotnetcore-daemon-v2 copied to clipboard

Please demonstrate how to page through users on the daemon app that calls MS Graph sample

Open RayGHeld opened this issue 2 years ago • 4 comments

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ x] feature request
- [ x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

run the code as is ( with your tenant and client information ). If you have more than 100 users, it will not page. If you set the Top parameter to a small number, it will not page. Examples for paging ( and I have spent 3 hours trying all that I can find ) do not work. Thank you!

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 11

Versions

per the sample

Mention any other details that might be useful


Thanks! We'll be in touch soon.

RayGHeld avatar May 09 '23 23:05 RayGHeld

Hi Team, any answer here for us?

RayGHeld avatar May 15 '23 22:05 RayGHeld

image

Please note, all of the packages in the sample are a whole version behind as well. Please update those to ensure the sample works as intended.

RayGHeld avatar May 15 '23 23:05 RayGHeld

I don't understand where you see Id.Web 1.25.0. In which branch are you, @RayGHeld ? For the paging, this is a good idea. We'll take it as an improvement, when Microsoft.Identity.Web is integrated with MsGraph SDK 5.0.

jmprieur avatar May 15 '23 23:05 jmprieur

Hi @jmprieur - this is the sample that was used: https://github.com/Azure-Samples/active-directory-dotnetcore-daemon-v2/tree/master/1-Call-MSGraph

RayGHeld avatar May 18 '23 23:05 RayGHeld