Additional features, settings, or issues not covered by specific Microsoft Teams categories
depending on what you need, I would advise you to connect to MS first, and start a powershell session from there :
I hardly use the 'local' cmdlets anymore
#connect to office365 without MFA
$Office365Admin = Get-Credential ******@heliconnl.onmicrosoft.com #use youre officeadmin account
$SESSION = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri "https://outlook.office365.com/powershell-liveid/" -Credential $O365CREDS -Authentication "Basic" -AllowRedirection
Import-PSSession $SESSION
Connect-MicrosoftTeams -Credential $Office365Admin
regards Tom