Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xtophs opened this issue Feb 13, 2025 · 0 comments

Comments

@xtophs
Copy link

xtophs commented Feb 13, 2025

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant