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: Oldest
  1. Anonymous
    2019-09-26T21:31:21+00:00

    Add-Team and then tab is working but rest seems not working

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2019-09-29T09:05:47+00:00

    Hello Ashka123,

    Thanks for your prompt update. I have checked your results, and the cmdlet Add-TeamUser from Module Microsoft Teams is listed. And the cmdlet $env:Psmodulepath -split “;” doesn’t have any special outputs.

    In order to look into the issue further, I want to collect some more information:

    1. The Windows version. Press Win + R and type winver. Capture a screenshot for your reference.
    2. Try to run the cmdlets in my previous reply via the PowerShell ISE running in Administrator mode. Right click on the button and choose Run ISE as Administrator.

    1. If possible, please create a new Windows profile and do the same tests via the new profile. Note: Don’t delete the old profile.

    It may need some time to narrow down and investigate to the issue. But I will try my best to help you! Please feel free to post back if you have any update.

    Regards,

    Rick

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2019-09-29T21:14:27+00:00

    Dear Rick, dear Ashka123,

    I had the same issue. Relaxing the execution policy fixed the problem for me:

    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

    Maybe that also helps in your case.

    Best regards,

    Christian

    Was this answer helpful?

    40+ people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2019-09-30T09:02:12+00:00

    Hello Christian,

    Thanks for sharing your experience here! Other community members who have same issues will benefit from your kindly sharing!

    Regards,

    Rick

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2019-10-01T07:23:23+00:00

    Hello Ashka123,

    May I know if you need any further assistance on it? 

    Regards,

    Rick

    Was this answer helpful?

    0 comments No comments