Trying to connect to Microsoft Teams with app only azure AD authentication with the following command:

Connect-MicrosoftTeams -ApplicationId GUID -CertificateThumbprint "thumbprint" -TenantId GUID

But getting error saying "The key does not exists".

Same thumprint works fine if i use it with Connect-PnPOnline. Any idea what am i doing wrong?



Problem was not with thumprint but Visual studio code. When i ran same script from Powershell ISE, so was every thing ok.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.