Retrieving chatinfo and attendees using MS Graph SDK

New Contributor

Starting with a sample oauth app I am trying to retrieve info about an online meeting that occurred.



Create the client:

var graphClient = _graphServiceClientFactory.GetAuthenticatedGraphClient((ClaimsIdentity)User.Identity);






Make request:

var returnObj = await graphClient.Me.OnlineMeetings.CreateOrGet(meetingID).Request().PostAsync();



The problem is the lack of information returned. I am trying to retrive the chat from the meeting, which seems like it should be in returnObj.ChatInfo but this is all I get back:






Also missing are the attendees in Participants (count=0). I know there are non zero attendees and that a chat log exists.

Trying Select or Expand does not help. Select returns nothing new, and expand gives an error along the lines of `Message: Parsing OData Select and Expand failed: Property 'participants' on type 'microsoft.graph.onlineMeeting' is not a navigation property or complex property. Only navigation properties can be expanded.`, and similarly for chatinfo.
Also, using the threadId I thought maybe I could do this:



var groups = await graphClient.Groups.Request().GetAsync();
Group group = groups[0];
ConversationThread chat;
chat = await graphClient.Groups[group.Id].Threads[chatId].Request().GetAsync();



where for chatId I used the threadId from chatinfo, wholey and parsed out in different ways but I get Not Found.

No idea if what I'm trying to do is even possible as the documentation is rather lacking in terms of tying different pieces together (Like what is the threadId for? where is it used?).

Also, here are the various scopes I am requesting



"GraphScopes": "User.Read User.ReadBasic.All Mail.Send OnlineMeetings.ReadWrite Group.Read.All Team.ReadBasic.All"




1 Reply