Forum Discussion

Little_Joe's avatar
Little_Joe
Bronze Contributor
Aug 17, 2021
Solved

Cannot perform any actions after entered Connect-MicrosoftTeams cmdlet

Hello guys,

 

Does anyone encountered this issue recently? When I was entered the cmdlet with Connect-MicrosoftTeams and authenticated successfully in the PS window, I run other Teams PS cmdlets it just says "Run Connect-MicrosoftTeams before running cmdlets".

 

Since my account was enabled with MFA and I was using this method without any issue before...

See below screenshot for your reference.

  • That's a known issue with the new Teams module. It is supposed to create a remote PowerShell session to the SfBO backend the first time you try to execute a *cs* cmdlet, yet this often fails. Reconnecting/reloading the module/opening new PowerShell console eventually works, but it's not consistent.
  • That's a known issue with the new Teams module. It is supposed to create a remote PowerShell session to the SfBO backend the first time you try to execute a *cs* cmdlet, yet this often fails. Reconnecting/reloading the module/opening new PowerShell console eventually works, but it's not consistent.
    • Little_Joe's avatar
      Little_Joe
      Bronze Contributor
      Hi Vasil,

      Thanks for the reply.

      Yes, I found the issue is probably related to the Teams PowerShell Module version 2.5.0. When I try with 2.3.1 it is working!

Resources