For particular user, Ms Graph event list returns error

Refresh

April 2019

Views

4 time

0

I'm calling Ms Graph Rest API with C# SDK. For most of the users this code runs ok. However in one case I just receive: Microsoft.Graph.ServiceException : Code: UnknownError.

How can I fix this problem, or check what is actually wrong with this request?

var calendarViewTask = await graphClient.Users[sub.MicrosoftUserId].Calendars[sub.MicrosoftCalendarId] .CalendarView.Request(options).Top(200).Filter("type eq 'singleInstance'").Expand($"Extensions($filter=id eq '{GraphHelper.EVENT_EXTENSION_KEY}')").GetAsync();

0 answers