CmdID

CmdID / PowerShell / Cmdlets / Connect

Connect-MicrosoftTeams

The Connect-MicrosoftTeams cmdlet connects an authenticated account for use with cmdlets from the MicrosoftTeams module. Microsoft Teams PowerShell reference

From the Microsoft Teams PowerShell reference 17 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

17 in the Microsoft Teams PowerShell reference
Show its 17 parameters
-AccountIdSpecifies the ID of an account.
-ApplicationIdSpecifies the application ID of the service principal that is used in application-based authentication.
-Certificate, -CertificateThumbprintSpecifies the certificate that is used for application-based authentication.
-CertificateThumbprintSpecifies the certificate thumbprint of a digital public key X.509 certificate of an application that has permission to perform this action.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-CredentialSpecifies a PSCredential object.
-DisableWAMDisables Web Account Manager (WAM) authentication for the connection.
-Identity, -MSI, -ManagedServiceLogin using managed service identity in the current environment.
-LogFilePathThe path where the log file for this PowerShell session is written to.
-LogLevelSpecifies the log level.
-ManagedServiceHostNameHost name for managed service login.
-ManagedServicePortPort number for managed service login.
-ManagedServiceSecretSecret, used for some kinds of managed service login.
-TeamsEnvironmentNameSpecifies the Teams environment.
-TenantId, -Domain, -TenantDomainSpecifies the ID of a tenant.
-UseDeviceAuthenticationUse device code authentication instead of a browser control.
-WhatIf, -wiShows what would happen if the cmdlet runs.