Forum Discussion

mvz12's avatar
mvz12
Copper Contributor
Jul 27, 2022

Teams PowerShell certificate authentication

Hi, 

I have a requirement to programmatically auth to Teams PowerShell using Certificate based authentication. Looking at the MS documentation (Connect-MicrosoftTeams (MicrosoftTeamsPowerShell) | Microsoft Docs) they seem to only detail delegated auth using a shared secret. Is anyone aware of a way to authenticate using certificate auth? I have found the article below, but cannot get this working. Wondering if cert based auth is actually possible at all? 

 

The option to specify a certificate thumbprint parameter has been removed from the latest version of the PS module. 

 

Certificate authentication with Teams Powershell 2.3.2-preview (AccessTokens) : MicrosoftTeams (reddit.com)

Resources