Skip to content

Connect-EntraTeams

SYNOPSIS

Connect to Microsoft Teams using a service principal and Graph token.

SYNTAX

Connect-EntraTeams

DESCRIPTION

The `Connect-EntraTeams` function authenticates with Microsoft Teams using a service principal. It retrieves credentials (AppId and AppSecret) from PasswordState and connects to Microsoft Teams using the specified tenant ID.

EXAMPLES

EXAMPLE 1

Connect-EntraTeams

Connects to Microsoft Teams using the service principal credentials retrieved from PasswordState.

Define AppId, secret and scope, your tenant name and endpoint URL

PARAMETERS

INPUTS

OUTPUTS

NOTES