c# - How to obtain the AssignedLicenses using Microsoft.Graph Client Library -


is there working way read assignedlicenses property of user in microsoft graph client library? tried following things, assignedlicenses property returned null allthough there licenses assigned user

// test 1: using "me" var lic = client.me.request().getasync().result.assignedlicenses;  // test 2: using id of user var lic = client.users["<id of user>"].request().getasync().result.assignedlicenses; 

using select correct technique here found out, viz request().select("assignedlicenses").getasync().result.assignedlicenses

on graph, select used both reduce set of properties returned , bring in properties not returned default. in attempt keep default packet sizes moderately sized , readable , keep call performance high not routing every call every underlying service necessary fetch data callers don't need.


Comments

Popular posts from this blog

c++ - list<myClass<int> * > sort -

SoapUI on windows 10 - high DPI/4K scaling issue -

java - why am i getting a "cannot resolve method" error on getApplication? -