Connect-MicrosoftTeams not working

Anonymous
2019-09-21T21:59:22+00:00

Hi Team, Please advice am i doing something wrong

PS C:\WINDOWS\system32> find-Module -Name MicrosoftTeams

Version    Name                                Repository           Description

-------    ----                                ----------           -----------

1.0.2      MicrosoftTeams                      PSGallery            Teams Cmdlets module

Installed module using - install-Module -Name MicrosoftTeams.

Getting error when run     Connect-MicrosoftTeams

PS C:\WINDOWS\system32> Connect-MicrosoftTeams

Connect-MicrosoftTeams : The term 'Connect-MicrosoftTeams' is not recognized as the name of a cmdlet, function, script

file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct

and try again.

At line:1 char:1

  • Connect-MicrosoftTeams
  • 
    

    + CategoryInfo          : ObjectNotFound: (Connect-MicrosoftTeams:String) [], CommandNotFoundException

    + FullyQualifiedErrorId : CommandNotFoundException

Microsoft Teams | Microsoft Teams for business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

54 answers

Sort by: Newest
  1. Anonymous
    2020-03-21T17:00:14+00:00

    You need to execute Import-Module MicrosoftTeams after Install-Module.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2020-03-16T19:51:40+00:00

    I am getting same error in ISE also.

    there is no difference between powershell and powershell ISE regarding to the teams module,

    so the solution is the same, unistall the current version and install an older version by running :

    Uninstall-Module MicrosoftTeams

     and then you install the version you want / need :

    Install-Module -Name MicrosoftTeams -RequiredVersion 1.0.0 or

    Install-Module -Name MicrosoftTeams -RequiredVersion 0.9.5 (we seem to have other problems with 1.0.0)

    Was this answer helpful?

    8 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2020-03-16T17:00:32+00:00

    I am getting same error in ISE also.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2020-03-15T09:56:41+00:00

    Thanks for sharing.

    How do i install an earlier version? do i have to uninstall my current version?

    Yes, you first uninstall the newer or current  version with :

    Uninstall-Module MicrosoftTeams

    then you install the version you want / need :

    Install-Module -Name MicrosoftTeams -RequiredVersion 1.0.0

    Was this answer helpful?

    8 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2020-03-04T15:36:21+00:00

    Thanks for sharing.

    How do i install an earlier version? do i have to uninstall my current version?

    Was this answer helpful?

    0 comments No comments