Read this article in ChineseJapanese | Spanish

This article applies to TeamViewer customers with an Enterprise/Tensor license.

TeamViewer Single Sign-On (SSO) aims to reduce the user management efforts for large companies by connecting TeamViewer with identity providers and user directories.


To use TeamViewer Single Sign-On, you need

  • a TeamViewer version 13.2.1080 or newer
  • a SAML 2.0 compatible identity provider (IdP)*
  • a TeamViewer account to access the Management Console and add domains
  • access to the DNS management of your domain to verify the domain ownership
  • a TeamViewer Tensor license.

TeamViewer Management Console (MCO) Configuration

Single Sign-On (SSO) is activated on a domain level for all TeamViewer accounts using an email address with this domain. Once activated, all users that sign into a corresponding TeamViewer account are redirected to the identity provider that has been configured for the domain.

For security reasons and to prevent abuse, it is required to verify the domain ownership before the feature is activated.

Add a new domain

To activate SSO, log in to Management Console and select the Single Sign-On menu entry. Click on Add domain and enter the domain you want to activate SSO for.

You also need to provide you identity provider’s metadata. There are three options available to do so:

  • via URL:
      enter your IdP metadata URL into the corresponding field
  • via XML:
      select and upload your metadata XML
  • Manual configuration:
      manually enter all necessary information. Please note that the public key must be a Base64 encoded string.

Add domain.png

Create custom identifier

After the domain has been added, the custom identifier can be generated. This custom identifier is not stored by TeamViewer, but is used for the initial configuration of SSO. It must not be changed at any point in time, since this will break Single Sign-On and a new setup will be necessary. Any random string can be used as customer identifier. This string is later required for the configuration of the IdP.

CustomIdentifier1.png  CustomIdentifier2.png  

Verify domain ownership

After a domain has been added successfully, you need to verify the domain ownership.
Single Sign-On will not be activated before the domain verification is completed.

To verify the domain, please create a new TXT record for your domain with the values shown on the verification page.

Note: The verification process can take several hours because of the DNS system.


The dialog to add a TXT record might look similar to:


Note: Depending on your domain management system, the description of the input fields may vary.

After creating the new TXT record, start the verification process by clicking on the “Start Verification” button.

Please note that the verification process can take several hours because of the DNS system.

Hint: TeamViewer will look for the TXT verification record for 24 hours after starting the verification. In case we cannot find the TXT record within 24 hours, the verification fails and the status is updated accordingly. You need to restart the verification through this dialog in this case. 

Hint: When adding a domain for Single Sign-On, it is recommended to add the owning account to the exclusion list. The reason for this is a fallback scenario that you keep the access to the domain configuration even if the IdP is not working.
Example: The TeamViewer Account "" adds domain „“ for Single Sign-On. After adding the domain, the email address "" should be added to the exclusion list.

Identity Provider Setup with G Suite

    1. Open the Google Admin console:
    2. Create a custom user attribute for holding the TeamViewer Customer Identifier:  GSuite_AddCustomAttribute.png
      • Navigate to Directory > Users
      • In the upper-right corner, press the Manage custom attributes button.
      • Press Add Custom Attribute (upper-right corner)
      • Enter a category name (e.g. "Single Sign-On") and an optional description.
      • In the custom fields section enter a name for the new custom attribute, for example TeamViewer Customer Identifier.
      • Choose Info Type to be Text
      • Choose Visibility to be Visible to admin
      • Choose No. of values to be Single Value
      • Press "Add"
    3. Navigate to Apps > SAML Apps, click Add (+) in the bottom-right corner.
    4. Choose Setup My Own Custom App
    5. Press Next to confirm the Google IdP Information dialog. All information can also be accessed again later.
    6. Enter a name for the application, for example "TeamViewer" (Description and Logo can optionally be added, too). GSuite_AddApp_BasicInformation.png
    7. On the "Service Provider Details", enter the following information:
    8. On the "Attribute Mapping" section, add the following mappings: (GSuite_AddApp_AttributeMapping.pngGSuite_AddApp_AttributeMapping.png


Please note that the "TeamViewer Customer Identifier" attribute must be set for users that want to login to TeamViewer via Single Sign-On.

TeamViewer Client Configuration

TeamViewer is compatible to Single Sign-On starting from version 13.2.1080.
Previous versions do not support Single Sign-On and can not redirect users to your identity provider during the login. The client configuration is optional, but allows to change the used browser for the SSO login of the IdP.

The TeamViewer client will use an embedded browser for the identity provider authentication by default. If you would prefer to use the default browser of the operating system, you can change this behavior via the following registry key:

HKEY_CURRENT_USER\Software\TeamViewer\SsoUseEmbeddedBrowser = 0 (DWORD)

Note: You need to restart the TeamViewer client after creating or changing the registry.


Version history
Revision #:
8 of 8
Last update:
‎28 May 2019, 12:32 PM
Updated by: