Additional features, settings, or issues not covered by specific Microsoft Teams categories
It worked for me like this:
1. Install module in Administrator's powershell
2. Then run powershell as user
PS C:\Users\t> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process
Execution Policy Change
The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose
you to the security risks described in the about_Execution_Policies help topic at
https:/go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): y
PS C:\Users\t> Import-Module MicrosoftTeams
PS C:\Users\t> Connect-MicrosoftTeams
(asks for credentials)
Account Environment Tenant TenantId
------- ----------- ------ --------
Thanks! This works for me!