question

BenjaminKiesl-9508 avatar image
0 Votes"
BenjaminKiesl-9508 asked Sridevi-MSFT answered

Can you configure Microsoft Teams on Linux to automatically select a certificate for authentication?

I'm using Microsoft Teams on Linux (Ubuntu 20.04) and I noticed that every time I start MS Teams, it asks me to select a certificate for authentication (it actually suggests the certificate I want to use, so I just have to click the same button every time I start MS Teams, which is a bit annoying). Is there a way to tell MS Teams to automatically select a certificate?

With Google Chrome, for example, this is possible by just putting a simple JSON file into an appropriate folder (see here for details: https://gist.github.com/njh/1d6f2c6acdf39fb3c1b0), so I'm hopeful that something similar is possible with MS Teams!?

office-teams-app-dev
· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@BenjaminKiesl-9508,
As we are mainly responsible for general issue of Microsoft Teams, this question which is more related to script is not supported by us. I will change office-teams-linux-itpro tag to office-teams-app-dev tag.

0 Votes 0 ·

Hi @BenjaminKiesl-9508,

Could you please check this document, would help to understand more about certificate based authentication.


0 Votes 0 ·

Thanks for your message, I'm just not sure it answers my question. My goal is not to learn about the ins and outs of certificate-based authentication in Azure Active Directory; my goal is actually way simpler:

I'm already (successfully) using a certificate to authenticate myself against my company's server when using Microsoft Teams. I just want to avoid that MS Teams asks me to manually select my certificate (instead of MS Teams automatically selecting it for me) every time I start MS Teams. I know that on Windows, MS Teams can select the certificate automatically, so I just wanted to know if something similar can be configured on Linux?

0 Votes 0 ·

When you use certificate based authentication. You need to select the certificate manually. This is by design.

0 Votes 0 ·

I suppose this is then "by design of Microsoft Teams on Linux" and not "by design of certificate-based authentication"? Because when I use Microsoft Teams on Windows, it does not ask me at every login to "please click on this button here to confirm that you want to use this certificate" - instead, MS Teams on Windows is clever enough to remember the certificate and just performs the authentication smoothly.

As mentioned in my original question, the same is the case when using certificate-based authentication within Google Chrome: I can add a certificate to Chrome, then tell Chrome (via a setting in a configuration file) to not ask me for the certificate every time I want to authenticate myself against some server: A nice usability feature that makes my life a tiny bit easier.

0 Votes 0 ·
Show more comments

1 Answer

Sridevi-MSFT avatar image
0 Votes"
Sridevi-MSFT answered

Posting the Answer for better knowledge
Copying from @NikithaMSFT-0176 comments

When you use certificate based authentication. You need to select the certificate manually. This is by design.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.