How can you delete a Teams meeting transcript via the Graph API?

Tim D 20 Reputation points
2024-11-01T14:40:31.8033333+00:00

Hello,

I'm looking for a way to delete transcripts for Teams meetings via the Graph API without deleting the parent meeting. In Graph Explorer, I've already tried sending a DELETE request on the fetch transcript URL https://graph.microsoft.com/beta/me/onlineMeetings/{meetingId}/transcripts/{transcriptId} and on the transcript content URL https://graph.microsoft.com/beta/me/onlineMeetings/{meetingId}/transcripts/{transcriptId}/content and have gotten back 405 Method Not Allowed both times. I can delete the meeting but I want to just delete the transcript while keeping the meeting intact. Is there any way I can do this?

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,326 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,289 questions
0 comments No comments
{count} votes

Accepted answer
  1. LiweiTian-MSFT 20,730 Reputation points Microsoft Vendor
    2024-11-04T01:53:04.3633333+00:00

    Hi @Tim D

    Graph Api currently does not provide a method to directly delete Teams meeting recording files.

    In Microsoft Teams, the current storage location of meeting transcript files is known as Exchange Online transcript or substrate transcript.

    You can choose to use XML or EWSEditor to delete transcripts saved in Exchange Online.

    Also, if your transcript is saved in OneDrive and SharePoint. You can choose to delete Teams meeting recordings along with their accompanying transcripts by using an auto-apply retention label policy that identifies these files from OneDrive and SharePoint transcript or OneDrive transcript.

    For more information, see Delete Exchange Online and OneDrive transcript files


    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.



1 additional answer

Sort by: Most helpful
  1. Tim D 20 Reputation points
    2024-11-08T15:21:48.2833333+00:00

    To clarify for people who are facing the same problem as me: if your meeting transcripts are stored in OneDrive (like they are in my organization) you can absolutely delete them via the Graph API. In my organization, they're stored in the meeting organizer's OneDrive under root/Recordings. The transcript doesn't contain a direct reference back to the meeting, but the file name will contain the meeting name. You should be able to determine whether or not a transcript file came from a meeting based on file name and file creation time, seeing as transcripts should be created soon after the start of a meeting. From there, it's a simple matter of calling the OneDrive file deletion Graph endpoint.

    When reading the documentation for the EWS API, it seemed like transcripts being stored in Exchange are planned for deprecation in the near future. If you're reading this in the future, your transcripts are almost definitely in OneDrive somewhere.

    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.