Unable to fetch transcript of online meeting using Microsoft Graph API.

Kripa 140 Reputation points
2024-10-29T05:13:44.18+00:00

I am working on Microsoft graph API to fetch transcript of teams online Meeting and using behalf of user application.

But I am getting error while calling Graph API

Method: GET

GET /me/onlineMeetings('{meetingId}')/transcripts GET /users('{userId}')/onlineMeetings('{meetingId}')/transcripts
ref link:https://learn.microsoft.com/en-us/microsoftteams/platform/graph-api/meeting-transcripts/api-transcripts?source=recommendations#list-calltranscripts

Given all the API Access to my Application

User's image

Code:

result = await graph_client.users.by_user_id(user_id).online_meetings.by_online_meeting_id(online_meeting_id).transcripts.get()

Response Error:

message="Application is not allowed to perform operations on the user 'xxxx', neither is allowed access through RSC permission evaluation.", target=None)

Here i am using Userid is object id of Tenant MSFT user and online meeting ID is "454 678 234 678"

Please assist me!!!

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,171 questions
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Authenticator
Microsoft Security | Microsoft Graph
Microsoft Teams | Microsoft Teams for business | Other
0 comments No comments
{count} votes

Accepted answer
  1. Hitesh Pachipulusu - MSFT 3,620 Reputation points Microsoft External Staff
    2024-10-29T05:38:15.1766667+00:00

    Hello Kripa,

    Thank you for reaching out to Microsoft Support!

    To use application permission for this API, tenant administrators must create an application access policy and grant it to a user. It authorizes the app configured in the policy to fetch online meetings and/or online meeting artifacts on behalf of that user (with the user ID specified in the request path). For more information, see Allow applications to access online meetings on behalf of a user.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.


1 additional answer

Sort by: Most helpful
  1. Anonymous
    2024-10-29T05:58:31.1733333+00:00

    Hello Kripa,

    Thank you for reaching out to Microsoft Support!

    According to the documentation, when you use application permissions, you also need to create an application access policy and grant it to a user.

    User's image

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.