Additional features, settings, or issues not covered by specific Microsoft Teams categories
Hello PhoneMe007,
Thanks for your post here.
According to your description, may I understand that you'd like to run the command like the following screenshot?
If not, please feel free to correct me. If so, please make sure you only run this command as I type in my screenshot and don't include other commands like Import-Module MicrosoftTeams $credential = Get-Credential
Based on my test, if we have installed the Teams PowerShell module, we can run the command Connect-MicrosoftTeams and sign in with our account in the pop-up page.
If you need more help or I misunderstand your meaning, please kindly share some screenshots when you run the command with me and I will continue to help you.
Regards,
Seven