Unable to connect Teams with powershell

Anonymous
2023-05-11T16:09:01.4833333+00:00

Hi Team, I want to use the Poweshell cmlt to manage team member,but when I enter connect-Microsoft Teams, it does not have a login option.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,031 questions
{count} votes

Accepted answer
  1. Dillon Silzer 54,286 Reputation points
    2023-05-12T04:08:31.5333333+00:00

    Hello,

    Make sure you have the module installed:

    Install-Module -Name MicrosoftTeams -RequiredVersion 5.1.0
    

    https://www.powershellgallery.com/packages/MicrosoftTeams/5.1.0

    After the module is installed try Connect-MicrosoftTeams.


    If this is helpful please accept answer.


1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more