I can retrieve a user's profile using Microsoft Graph API and as well as their calendars in my web application. Sometimes, I have to get them in one request; such as the network is too slow or some reason. However, there is not a property about the calendars in the response of this API GET /me
.How can I deal with this?
I use the following code using the Graph Client:
// get the user's profile
var me = await _serviceClient.Me.Request().GetAsync();
// list the user's calendars
var result = _serviceClient.Me.Calendars.Request().GetAsync();
Anyone can help me? Thank you very much.