Skip to content
Docs
Qubitara eSign

Connect Microsoft Entra ID

Updated Version 3ESIGN-41

This page helps a Microsoft Entra administrator connect Microsoft Entra ID (formerly Azure AD) to Qubitara eSign. You set up sign-in, then user provisioning, then roles. Do the parts in order.

In the eSign SSO tab, this provider is listed as Azure AD.

Words used on this page:

Word

Meaning

SSO

Single sign-on: you sign in once with your company account.

SAML 2.0

The standard that Entra ID and eSign use for SSO.

IdP

Identity provider: the system that holds your company accounts. Here it is Entra ID.

SCIM

A standard that lets Entra ID create, update and deactivate eSign users for you.

Claim

One piece of user data, such as the email, that Entra ID sends to eSign.

Prerequisites#

You need:

  • One of these roles in Entra ID: Cloud Application Administrator, Application Administrator, or owner of the service principal (Microsoft Learn (opens in a new tab)).

  • The Admin or Owner role in the eSign organization.

  • Your eSign Workspace URL Slug (the short name of your organization in the eSign web address). Find it in Org Settings → Settings. The examples below use acme.

  • Password sign-in still enabled for at least one eSign Owner.

Before you start, copy your Service Provider values from Org Settings → SSO → Service Provider Details. See SSO and SCIM overview.

In the app, the SP Entity ID is labelled SP Entity ID / Audience URI. The SSO Login URL is labelled SCIM / SSO Login URL.

Part 1: Create the SAML app in Microsoft Entra ID#

These steps follow Enable SAML single sign-on for an enterprise application (opens in a new tab) and Customize SAML token claims (opens in a new tab).

  1. In the Microsoft Entra admin center, go to Entra ID → Enterprise apps.

  2. Click New application, then Create your own application.

  3. Enter a name (for example Qubitara eSign). Select Integrate any other application you don't find in the gallery (Non-gallery) and click Create.

  4. In the app, go to Single sign-on and select SAML.

  5. In Basic SAML Configuration, click Edit and enter:

    Entra field

    Value

    Identifier (Entity ID)

    eSign SP Entity ID: https://acme.esign.qubitara.com/saml/acme

    Reply URL (Assertion Consumer Service URL)

    eSign ACS URL: https://acme.esign.qubitara.com/api/v1/auth/sso/callback/acme

    Sign on URL

    eSign SSO Login URL: https://acme.esign.qubitara.com/api/v1/auth/sso/initiate/acme

    Relay State

    Leave blank

    Logout URL

    Leave blank

    Click Save.

  6. In Attributes & Claims, click Edit. Under Required claim, open Unique User Identifier (Name ID).

  7. Set Choose name identifier format to Email address. Set the source attribute to user.mail (or user.userprincipalname if the UPN equals the email). Save.

  8. Add the claims below with Add new claim. Clear the Namespace field for each one, so that the claim name is short.

    Name

    Source attribute

    email

    user.mail

    firstName

    user.givenname

    lastName

    user.surname

    displayName

    user.displayname

  9. Optional: click Add a group claim. Choose Groups assigned to the application and the source attribute Cloud-only group display names. Under Advanced options, change the claim name to groups (Configure group claims (opens in a new tab)).

  10. In SAML Certificates, copy the App Federation Metadata URL. You can also download Certificate (Base64) and Federation Metadata XML.

  11. In Set up Qubitara eSign, note the Login URL and the Microsoft Entra Identifier.

  12. Go to Users and groups and assign yourself and one other administrator. Assign everyone else after testing.

Part 2: Configure eSign#

You do this part on the SSO tab of Org Settings in eSign.

Org Settings SSO tab showing the provider picker, Import from IdP Metadata, the manual fields and Service Provider Details. The picture has Okta selected; choose Azure AD instead.
Org Settings SSO tab showing the provider picker, Import from IdP Metadata, the manual fields and Service Provider Details. The picture has Okta selected; choose Azure AD instead.
  1. In eSign, open Org Settings → SSO.

  2. Under Identity Provider, choose Azure AD.

  3. Under Import from IdP Metadata, choose Fetch URL.

  4. Paste the App Federation Metadata URL and click Fetch. eSign fills in the Identity Provider SSO URL, the entity ID and the IdP X.509 Certificate.

  5. Click Save SSO Config.

If you cannot use the metadata URL, choose Upload File and upload the Federation Metadata XML. You can also fill in the fields by hand:

eSign field

Entra value

Identity Provider SSO URL

Login URL

IdP X.509 Certificate

Certificate (Base64)

SP Entity ID

Leave the default

Part 3: Test sign-in#

You test from Entra ID first, then from the eSign sign-in page shown here.

The eSign sign-in page with the banner "Your organization uses SAML sign-in" and the Sign in with SSO button.
The eSign sign-in page with the banner "Your organization uses SAML sign-in" and the Sign in with SSO button.
  1. In Entra, on the Single sign-on page, use Test single sign-on with Qubitara eSign → Test. This tests sign-in that starts from Entra ID.

  2. Open a private browser window and go to the eSign sign-in page.

  3. Enter your work email and click Sign in with SSO. Or open the SSO Login URL directly.

  4. Test from the tile in the Microsoft My Apps portal.

Part 4: SCIM provisioning in Microsoft Entra ID#

These steps follow the Entra provisioning tutorial (opens in a new tab).

Step 1 uses the SCIM tab of Org Settings in eSign.

Org Settings SCIM tab with Enable SCIM turned on, the SCIM Endpoint URL, the hidden Bearer Token and the Regenerate link.
Org Settings SCIM tab with Enable SCIM turned on, the SCIM Endpoint URL, the hidden Bearer Token and the Regenerate link.
  1. In eSign, open Org Settings → SCIM and turn on Enable SCIM.

  2. Copy the SCIM Endpoint URL and the Bearer Token. See SCIM provisioning.

  3. In Entra, open the eSign enterprise app and click Provisioning.

  4. Set Provisioning Mode to Automatic.

  5. Under Admin Credentials, enter:

    Entra field

    Value

    Tenant URL

    https://acme.esign.qubitara.com/api/v1/scim/v2/acme?aadOptscim062020

    Secret Token

    The eSign Bearer Token

    The ?aadOptscim062020 flag makes Entra send PATCH requests that follow the SCIM standard (boolean active, standard member removal). The flag does not apply to on-demand provisioning (Known issues with SCIM 2.0 compliance (opens in a new tab)).

  6. Click Test Connection. Entra asks for a random user that does not exist. It expects HTTP 200 with an empty list. Save.

  7. Under Settings, set Scope to Sync only assigned users and groups.

  8. Under Mappings, review the user mappings. The defaults are:

    • userPrincipalName → userName

    • mail → emails[type eq "work"].value

    • givenName → name.givenName

    • surname → name.familyName

    • displayName → displayName

    • Switch(IsSoftDeleted) → active

    Leave the group mappings enabled, so that groups reach eSign.

  9. Click Start provisioning. Your admin center may show a Provisioning Status toggle instead (label to be confirmed).

  10. Assign users and groups under Users and groups.

  11. Watch the Provisioning logs.

The first cycle runs soon after you start. Later cycles run every 40 minutes. Use Provision on demand to test one user.

Part 5: Map groups to roles#

You map groups on the Groups tab of Org Settings in eSign.

Org Settings Groups tab with a list of SCIM groups, a Map role list beside each group, and the Refresh button.
Org Settings Groups tab with a list of SCIM groups, a Map role list beside each group, and the Refresh button.
  1. In eSign, open Org Settings → Groups.

  2. Click Refresh to get the latest groups.

  3. For each Entra group, set Map role to Owner, Admin, Member or Viewer.

Then check that provisioning worked. Open Audit Logs and click the Provisioning filter.

The organization Audit Logs page with the filter chips, including Provisioning, and a table of events.
The organization Audit Logs page with the filter chips, including Provisioning, and a table of events.

Look for the events User Provisioned (SCIM) — user and Group Synced (SCIM) — group.

When you unassign a user in Entra, the service sets active = false. Which Audit Logs event eSign records for this is to be confirmed. See SCIM provisioning.

Finish#

When SSO and SCIM both work, open Org Settings → Settings. Restrict Authentication Methods and set the SSO Email Domain. See the recommended order.

Troubleshooting#

See SSO and SCIM troubleshooting. Checks that are specific to Entra ID:

Next steps#

Was this page helpful?