I tested the following script and works well. You may substituting your own values and proceed with the same script
$userAlias1 = "manu1@cloudcompute.info"
$DisplayName = "Test Team Group"
$teamsGroupName = "TestTeam"
$group = New-Team -DisplayName $teamsGroupName -MailNickname $teamsGroupName -Visibility "private" -Owner "manu@cloudcompute.info"
Add-TeamUser -GroupId $group.GroupId -User $userAlias1
If the Answer is helpful, please click "Accept Answer" and upvote it