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-25T16:51:19+00:00

    its not fixed

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2019-09-25T09:05:56+00:00

    Hello Ashka123,

    May I know if there is any update for next troubleshooting steps? 

    Regards,

    Rick

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2019-09-23T07:01:13+00:00

    Hello Ashka123,

    Thanks for your prompt update. According to my experience, you should be able to connect to Microsoft Teams without any problems after installing the module. In order to narrow down the issue and find the root cause, I need to collect the following information:

    1. Whether powershell can find other cmdlets in that module. Run Import-Module -Name MicrosoftTeams. Then type add-team then press tab to see if it will get auto-completed. You can capture a screenshot for further check.
    2. Please check whether PowerShell can run other modules. For example, AAD and Exchange Online. Here is the command to connect to ADD: Connect-MsolService     
    3. Please run the following command to get the store info: $env:PSmodulepath -split ";"
    4. Run the following to gather stream info when processing the command: Connect-MicrosoftTeams -verbose and Connect-MsolService -verbose

    Please capture a screenshot of each output and upload them in the forum for further analyzing. Thanks for your patience and cooperation.

    Regards,

    Rick

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2019-09-23T03:36:59+00:00

    Do not know what wrong i am doing

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2019-09-23T02:19:47+00:00

    Hello Ashka123,

    From the latest error message you provided, I can see the module was installed without any problems but the installed module wasn’t imported to the session when you use any commands. Please run the following command Import-Module -Name MicrosoftTeams to import the Microsoft Teams module or Get-Module -ListAvailable | Import-Module to import all the available modules.

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

    Regards,

    Rick

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments