Hello @Interview ,
You can use create-onlinemeetings to enable auto recording of teams meetings and set recordAutomatically:true.
Here is a sample request body.
POST https://graph.microsoft.com/v1.0/me/onlineMeetings
Content-Type: application/json
{
"startDateTime":"2022-03-11T14:00:34.2444915-07:00",
"endDateTime":"2022-03-11T14:30:34.2464912-07:00",
"subject":"Online Meeting",
"recordAutomatically":true
}
Source: onlinemeeting
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".