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-08-11T13:32:49+00:00

    This is typical Msft garbage. If they're going to force us to rely more on powershell to compensate for their deficient ui design skills, the least they could do is make sure ps is reasonably simple to use. But no, as usual, the instructions Msft provides are wrong, and you have to wade through endless articles and forum posts and still nothing works as promised. That's what we call the Msft black hole. And here I am, in it again.

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2020-06-24T18:31:15+00:00

    After installing and importing the module, closing and re-opening powershell finally allowed me to use the Connect-MicrosoftTeams command.

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2020-05-24T20:39:42+00:00

    I was having the exact same issue. Ver 1.0.0 worked like Ashka123 indicated but I needed a cmdlet that exists only on 1.0.6. 

    In trying to solve the issue I installed and uninstalled the module several times but I always had to close and open PowerShell again because it said that the module was in use.

    Now, I'm not sure if this is normal or not but, that's how I got Connect-Module MicrosoftTeams to work; I installed the module, closed PS, opened PS as admin and then it worked. 

    I had also changed ExecutionPolicy from Restricted to AllSigned. 

    Hope it helps

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2020-04-10T15:13:57+00:00

    I was able to troubleshoot this by running Import-Module after I instaledl the MicrosoftTeams module. I believe I also had to set the scope to "CurrentUser" a couple of times but, it now works.

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2020-04-10T15:02:55+00:00

    I'm having exactly the same problem. Install-Module -name MicrosoftTeams is not working for me either.

    It appears the package 0.9.5 is not available for automatic download and install either so I am going to try an earlier version. Is there any estimate on a date this will be fixed?

    Was this answer helpful?

    0 comments No comments