Skip to content

API call for Users/<userid>/OnlineMeetings/getAllTranscripts results in 500 Internal Error #2833

@xtophs

Description

@xtophs

Discussed in #2808

Originally posted by xtophs January 25, 2025
I'm calling

var scopes = new[] { "https://graph.microsoft.com/.default" };
var authProvider = new AzureIdentityAuthenticationProvider(clientSecretCredential, null, null, scopes);

GraphServiceClient graphClient = new GraphServiceClient(httpClient, authProvider);

var transcripts = await graphClient.Users[userId].OnlineMeetings.GetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTime
  .GetAsGetAllTranscriptsmeetingOrganizerUserIdMeetingOrganizerUserIdWithStartDateTimeWithEndDateTimeGetResponseAsync( (config) =>
  {
      config.QueryParameters.StartDateTime = DateTimeOffset.Parse("2024-09-01T00:00:00Z");
      config.QueryParameters.EndDateTime = DateTimeOffset.Parse("2024-09-30T23:59:59Z");
      config.QueryParameters.MeetingOrganizerUserId = userId;
  });

to get transcripts for a user.

The Service Principal should have sufficient permissions to execute:
image

The SDK translates the call to

https://graph.microsoft.com/v1.0/users/<userId>/onlineMeetings/getAllTranscripts(meetingOrganizerUserId='@meetingOrganizerUserId',startDateTime=@startDateTime,endDateTime=@endDateTime)?endDateTime=2024-09-30T23%3A59%3A59.0000000%2B00%3A00&meetingOrganizerUserId=<userId>&startDateTime=2024-09-01T00%3A00%3A00.0000000%2B00%3A00

which results in a
500 Internal Server Error - Failed to Execute the Request

No further details are provided about the nature of the error.

What else is needed for the call to succeed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions