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
    2019-09-22T06:54:46+00:00

    Still not working

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2019-09-22T06:29:27+00:00

    Hello Ashka123,

    Thanks for your prompt update here. I can see the output shows you have installed the module successfully. However, it seems to have some problems. I suggest you re-install it to see how it goes:

    1. Run Windows PowerShell as an administrator). Run the command Uninstall-Module -Name MicrosoftTeams
    2. Run the Install-Module MicrosoftTeams command. If prompted to install the NuGet provider, type Y and press ENTER. If prompted to install the module from PSGallery, type Y and press ENTER.

    After it is installed successfully, please Connect-MicrosoftTeams again and see whether it works now. If the same issue persists, please capture a screenshot of the entire output for further check.

    Regards,

    Rick

    Was this answer helpful?

    5 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2019-09-22T01:15:24+00:00

    Please find output

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2019-09-22T00:40:52+00:00

    Hello Ashka123,

    Thanks for your post in the forum. According to the error message, it seems that MicrosoftTeams PowerShell module wasn’t installed.

    First, please run the following command to confirm whether you have installed Teams PowerShell module successfully: Get-Module -ListAvailable -Name MicrosoftTeams. If it is installed successfully, you will see the results like below:

     

    If you cannot see the result, it means that the PowerShell module wasn’t installed correctly. Go to this link to download and install the module manually: https://www.powershellgallery.com/packages/MicrosoftTeams/1.0.2

    Please feel free to post back if you have any update on it.

    Regards,

    Rick

    Was this answer helpful?

    10 people found this answer helpful.
    0 comments No comments