With Microsoft Graph API,
I want to get a list of users with a certain license such as O365 E3, Business Standard etc.
Get a user list
https://docs.microsoft.com/en-us/graph/api/user-list-licensedetails?view=graph-rest-1.0&tabs=http
Get a list of all allocated licenses of one user
https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0
What I want is, all the users' list hoding a certain license.
If it does not exist, I have to loop so many times which is low performance.
Please help. Thank you.
Daniel