onenote - Can groups be expanded when querying which students are associated with a class notebook? -
we query list of students associated class notebook via:
/api/v1.0/me/notes/classnotebooks/{id}/students
should group associated class notebook principaltype=group , id in form:
c:0o.c|federateddirectoryclaimprovider|{id}
so possible expand members of associated group(s) within call? if not, format of id? use via graph api requires id safe assume id 3rd piped element?
thanks
i ran application well. after conferring onenote team few months ago came down cannot expand these groups inside onenote api. must authenticate graph api , use groups functions there. downside of graph api permissions expand group require administrator grant them. in end recommend users create class notebooks using student email list rather azure group. (on final point format should remain consistent third piped element group id can pass graph api)
specifically below endpoint groups members
'https://graph.microsoft.com/v1.0/myorganization/groups/' . $group_id . '/members'
Comments
Post a Comment