Not able to get transcipts with graph api

Akhil Venkat Gopisetty 0 Reputation points
2024-10-15T13:51:46.6166667+00:00

Hi team,
we trying to get transcripts using graph api(GET https://graph.microsoft.com/v1.0/users/ba321e0d-79ee-478d-8e28-85a19507f456/onlineMeetings/MSo1N2Y5ZGFjYy03MWJmLTQ3NDMtYjQxMy01M2EdFGkdRWHJlQ/transcripts/MSMjMCMjNzU3ODc2ZDYtOTcwMi00MDhkLWFkNDItOTE2ZDNmZjkwZGY4/metadataContent)
but even i had necessary permissions,
Screenshot from 2024-10-15 19-18-19

Screenshot from 2024-10-15 19-18-23

Im getting output like this:

{
    "error": {
        "code": "Forbidden",
        "message": "Application is not allowed to perform operations on the user '3e8df28f-3a8e-4d71-a29c-b3b346b6d63f', neither is allowed access through RSC permission evaluation.",
        "innerError": {
            "date": "2024-10-15T12:49:37",
            "request-id": "96b14ed2-c2e9-4b64-b2bc-6ed5118c3bfc",
            "client-request-id": "96b14ed2-c2e9-4b64-b2bc-6ed5118c3bfc"
        }
    }
}

but when im trying with access token which is used in https://developer.microsoft.com/en-us/graph/graph-explorer , it is working fine

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,189 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,919 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. LiweiTian-MSFT 19,560 Reputation points Microsoft Vendor
    2024-10-16T01:30:40.11+00:00

    Hi @Akhil Venkat Gopisetty

    Make sure to add the following permissions of Microsoft Graph API in your app registration.

    OnlineMeetings.Read.All OnlineMeetingTranscript.Read.All

    Give Admin consent to the API permissions.

    Second Thing:

    You have to create an application access policy to allow application to access online meetings on behalf of a user.

    Here are the commands to configure Application Access Policy:

    User's image

    Grant this Policy using your Azure UserID.

    After creating and granting this access policy you should be able to use Graph API to access transcripts content using auth token of your app registration.

    For Reference : https://learn.microsoft.com/en-us/graph/cloud-communication-online-meeting-application-access-policy


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

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



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.