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: Most helpful
  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-16T17:00:32+00:00

    I am getting same error in ISE also.

    Was this answer helpful?

    0 comments No comments
  3. 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
  4. Anonymous
    2019-10-17T14:37:45+00:00

    Hello Ashka123,

    We haven’t heard back from you. Do you need any further assistance?

    Best Regards,

    Sylvie

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2019-10-14T07:00:24+00:00

    Hello Ashka123,

    Sorry for the delay reply. We escalated your case as your problem persists after a lot of troubleshooting. This is Sylvie and I am writing this thread by now. We truly appreciate all your efforts and patience during our troubleshooting process.

    Currently we identified that the main problem could be related to your PS environment. For the above cmdlets provided by Rick, it was his typo, the two cmdlets should be as following:

    Test-Path $profile

    $host.Runspace | fl

    This can help you check whether you have the correct PowerShell profile configured in your Windows PC.

    Meanwhile, for the new problem you encountered, I would like to confirm the following:

    1. May I know if you run this cmdlet in PowerShell ISE as administrator?
    2. When does this “Connect-MicrosoftTeams” problem happen? Does it happen after upgrading windows or PowerShell?

    Rick suggested creating a new Windows profile before, but we haven’t received the feedback from you. If haven’t did it before, please kindly try to do it to check the outcome.

    Please feel free to share the updates with us.

    Best regards,

    Sylvie

    Was this answer helpful?

    0 comments No comments