Set up SSO and directory sync with Microsoft Entra ID

Create an enterprise app in Microsoft Entra ID for Tokenize sign-in, then turn on SCIM provisioning to sync users, teams, and managers.

This guide walks through the Microsoft Entra ID side of SAML single sign-on and SCIM directory sync for Tokenize. For what SSO and directory sync do in Tokenize, and how to check sync status, see Set up SSO and directory sync.

Who can do this: An Entra ID admin, working with a Tokenize Admin.

Before you start

Get the Identifier (Entity ID) and Reply URL (Assertion Consumer Service URL) for your Tokenize SSO connection. If your organization has self-serve SSO, they appear when you add an SSO connection in Settings → Organization → Security. Otherwise your Tokenize account team sends them to you.

Step 1: Create an enterprise application

  1. Sign in to the Microsoft Azure portal and go to Enterprise applications.
  2. Select New application, then Create your own application.
  3. Enter an app name, for example "Tokenize". Select Integrate any other application you don't find in the gallery (Non-gallery), then select Create.
  4. In Getting Started, select Assign users and groups.
  5. Select Add user/group, choose the users or groups who should use Tokenize, then select Assign.

People can't sign in with SSO until they're assigned to the app.

Step 2: Add the Tokenize SAML details

  1. In the side navigation, open Manage and select Single sign-on.
  2. Under Select a single sign-on method, select SAML.
  3. In Basic SAML Configuration, select Edit.
  4. Paste the Tokenize values into Identifier (Entity ID) and Reply URL (Assertion Consumer Service URL).
  5. Select Save, then close the panel.

Step 3: Check attributes and claims

The SAML response must include each person's email. First and last name are optional. Entra ID usually sets these by default, but check them: wrong claims are a common cause of SAML sign-in errors.

On the SAML-based Sign-on page, find Attributes & Claims, select Edit, and confirm these claims are present:

AttributeRequiredClaim nameValue
Email addressYeshttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddressuser.mail
First nameNohttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/givennameuser.givenname
Last nameNohttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/surnameuser.surname

Step 4: Share the metadata URL

  1. On the SAML-based Sign-on page, find SAML Certificates.
  2. Copy the App Federation Metadata Url.
  3. Add it to your SSO connection in Settings → Organization → Security, or send it to your Tokenize account team.

If you can't share the metadata URL, send the Login URL, Microsoft Entra Identifier, and Certificate (Base64) from the same page instead.

Once the connection shows Active under Settings → Directory Sync, assigned people can sign in with Microsoft.

Step 5: Turn on SCIM provisioning

Do this after SSO works. You need the SCIM URL and token for your connection. See Set up directory sync for where to get them.

  1. In the Azure portal, open your Tokenize enterprise application and select Provisioning.
  2. Set Provisioning Mode to Automatic.
  3. Under Admin Credentials, paste the SCIM URL into Tenant URL and the token into Secret Token.
  4. Select Test Connection. When the test passes, select Save.

Step 6: Map attributes

Expand Mappings and open the user mapping. Confirm these attributes are mapped:

Tokenize attributeRequiredUsed for
userNameYesIdentifying each person.
emails[type eq "work"].valueYesMatching people to their Tokenize account.
activeYesBlocking sign-in when someone is disabled or unassigned.
name.givenName, name.familyNameRecommendedNames in Tokenize.
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:departmentRecommendedTeams.
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:managerRecommendedManagers and reporting lines. Send the manager's email or employee number.

Without department and manager, Tokenize can't build teams or reporting lines, and the Synced fields column on Settings → Directory Sync shows Not mapped.

Step 7: Start provisioning

  1. Under Settings, set Provisioning Status to On.
  2. Select Save.

Entra ID provisions assigned users and groups on its own schedule. The first cycle can take a while for large directories.

Check it worked

Go to Settings → Directory Sync in Tokenize. Assigned people appear in the Directory users table with Source set to Directory sync. If they don't, see Troubleshooting.