Entra ID (formerly Azure AD) Configuration

Background

Setting up Entra ID integration with Twingate will enable both OpenID Connect user authentication and user and group sync with Entra ID. There are two steps to set up this integration:

  • Enable the Entra ID integration in Twingate and sign in to your Entra ID tenant.
  • Configure the Twingate application in the Microsoft Entra ID Gallery and enable SCIM for user and group sync.

Twingate configuration

Before proceeding with the Twingate Entra ID gallery app configuration, you need to sign in with Entra ID in the Twingate Admin Console. You can do this from Settings > Identity Provider > Entra ID.

To retrieve the Entra ID tenant ID:

  • Open the Azure portal at https://portal.azure.com.
  • Navigate to Entra ID from the left side menu.
  • Copy the Tenant ID from the Tenant information box.
  • Paste the Tenant ID into Twingate as shown above, and click “Sign in with Entra ID”.

Once you have entered the Azure tenant ID and have verified that you can sign in, continue with the steps below.

Once you have completed the initial step of signing into Entra ID, above, you can proceed with setting up the official Twingate gallery application. Detailed instructions are available in Microsoft’s Entra ID documentation.

To complete the Entra ID configuration, please follow the instructions below on Microsoft’s website:

Twingate Entra ID Gallery app instructions

The guide above will cover:

  • Adding the Twingate Entra ID Gallery app to your Entra ID instance
  • Determining which users and groups should be synced to Twingate

User and Group Sync

Once provisioning is running, the Entra provisioning service pushes changes to Twingate over SCIM. It runs incremental cycles continuously, and each cycle sends only the users and groups that changed since the previous cycle. Twingate does not poll Entra ID.

This shapes what the Identity Provider page in the Admin Console shows you. The “Last synced” timestamp records the last time Entra ID sent Twingate a change, not the last time it ran a cycle. A directory that has not changed for three weeks shows a timestamp from three weeks ago while provisioning runs normally. The status indicator beside it reflects how Twingate handled the most recent request it received, so neither value tells you whether Entra ID is still running its cycles.

Entra ID holds the authoritative record. Its provisioning logs show each request made to Twingate and the response returned, including entries for objects Entra ID evaluated and found unchanged. Check there to confirm that provisioning is still running, rather than relying on the timestamp in Twingate.

To push a pending change through without waiting for the next cycle, use on-demand provisioning.

Entra ID accounts without email addresses

Entra ID allows configuring accounts without an email address. Our Help Center, which we use to provide you with technical support services, requires accounts to have an email address to access support. Twingate signs in users to the Help Center using their synced email address.

Consequently, accounts that need access to support are required to have an email address. If an Entra ID account does not have an email address, it will not be able to login to the Help Center. Adding an email address to a user by setting the “Email” property for their account will sync the email address with Twingate and enable that user to access the Help Center.

Last updated