Overview
To record a Microsoft Teams meeting, join or start the meeting, click the three dots (More actions) in the toolbar, select Record and transcribe, then Start recording, and confirm. Everyone is notified, and the recording (audio, video, and screen sharing) will save to the organizer's OneDrive and will appear in the meeting chat for sharing and download, stopping automatically when the meeting ends or manually by clicking More actions > Stop recording.
A detailed explanation of Teams Meetings can be found here:
https://support.microsoft.com/en-us/office/record-a-meeting-in-microsoft-teams-34dfbe7f-b07d-4a27-b4c6-de62f1348c24