Alternative method using the Marc LaFleur linked example. I couldn't get this to work from with application permissions.
Connect-MgGraph -Scopes "Team.Create" -NoWelcome
$params = @{
"[email protected]" = "https://graph.microsoft.com/v1.0/teamsTemplates('educationClass')"
displayName = "My Sample Team"
description = "My sample team's description"
}
New-MgTeam -BodyParameter $params