Forum Discussion

mvz12's avatar
mvz12
Copper Contributor
Jul 27, 2022
Solved

Teams PowerShell certificate authentication

Hi, 

I have a requirement to programmatically auth to Teams PowerShell using Certificate based authentication. Looking at the MS documentation (https://docs.microsoft.com/en-us/powershell/module/teams/connect-microsoftteams?view=teams-ps) 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. 

 

https://www.reddit.com/r/MicrosoftTeams/comments/nqvo98/certificate_authentication_with_teams_powershell/

Resources