Skip to content

Single Sign-On with Microsoft Entra ID

Without single sign-on, every Pactly user is one more password your organization has to provision, reset, and revoke by hand. When someone leaves, their Pactly account lingers until an admin remembers to deactivate it.

Single sign-on (SSO) hands authentication to Microsoft Entra ID (formerly Azure AD). Users sign in with their existing Microsoft credentials — in the Pactly web app and the Pactly Word Plugin alike — and accounts can be created and removed automatically.

SSO settings live in the left menu under Account settings → Single Sign-On. The section is available to admins on accounts where the integrations capability is enabled. SSO is available on Ultimate plans and above, and as an add-on for Growth.

You also need:

  • Verified, locked domains. SSO applies to email domains your company has verified and locked in Account settings → Company. Verify and lock the relevant domains first, or only existing users will be able to sign in with SSO. See Verify and lock your domains.
  • Access to your Azure portal, if you plan to use your own app registration (most enterprise setups do).

Step 1: Turn on SSO, set the tenant and button label

Section titled “Step 1: Turn on SSO, set the tenant and button label”
  1. Go to Account settings → Single Sign-On.
  2. Switch the toggle from SSO Disabled to SSO Enabled.
  3. Enter your Tenant ID — the Directory (tenant) ID shown on your Azure portal’s Entra ID overview page. SSO cannot be saved without it, so Pactly keeps the Save buttons disabled until it is filled in.
  4. In Display Name, enter the text users will see on the sign-in button, for example Microsoft or your company name.
  5. Click Save.
Microsoft Entra ID settings card with SSO Enabled switched on, a warning that no locked domains are configured, the Tenant ID field filled in, the Display Name field set to Microsoft, and the Allow password login as fallback toggle
The main SSO card: the toggle, your Tenant ID, and the button label all live here. With SSO enabled but no domains locked, Pactly reminds you that only existing users can sign in with SSO.

Once SSO is enabled, Pactly shows whether your verified domains are covered. If no domains are locked yet, you’ll see a reminder that only existing users can use SSO until domains are verified and locked.

Pactly connects to Entra ID through an Azure app registration. Under App Registration, you choose which one.

The simpler path. Pactly’s pre-built app runs against the tenant you entered in Step 1. No secret to manage — leave the toggle on Use Pactly’s multi-tenant app and there is nothing further to configure.

If your organization restricts app consent (common in enterprise tenants), sign-ins fail with a Microsoft consent error until an Entra administrator approves Pactly’s app. Once your Tenant ID is set, the App Registration card shows the admin consent link in a copyable field — click it to select the URL (or use Copy) and send it to an Entra administrator to open and accept. One approval covers the whole tenant.

Full control. You register your own app in Azure and supply its credentials. Required when your security policy mandates a self-managed app registration.

  1. Switch the toggle to Use custom Azure AD app.
  2. Enter the Client ID from your Azure app registration (it must live in the tenant you entered in Step 1).
  3. Enter the Client Secret value you generated in Azure.
  4. Optionally set the Client Secret Expiry Date so Pactly can warn you before it lapses (see below).
  5. Click Save.
App Registration card in custom mode with Client ID, Client Secret, and Client Secret Expiry Date fields
App Registration in custom mode. The Client Secret field is write-only: the stored secret is never displayed back.

Azure client secrets expire on the date you set in the Azure portal, and SSO stops working when one lapses, locking out users on SSO-only domains until you enter a new one. Record the Client Secret Expiry Date so your account’s default admin is emailed at 2 months, 1 month, and 2 weeks before expiry, then rotate the secret in Azure and enter the new value before it lapses. The Client Secret field shows when a secret is already configured; enter a new value only when rotating it.

For the full Azure-side walkthrough (creating the app registration, redirect URI, optional claims, and troubleshooting sign-in errors), see Entra ID App Setup for SSO (OIDC).

When you use a custom app, Pactly also shows an Azure AD Setup Guide box. It walks through adding the given_name, family_name, and email optional claims to your app’s token configuration so user names sync correctly, and lists the redirect URI your app needs (your Pactly API host followed by /oidc/callback).

Under the main SSO box, the Allow password login as fallback toggle controls whether users on your locked domains can still sign in with a Pactly password:

  • Allow password login as fallback: users can choose SSO or password.
  • SSO only (no password fallback): users on locked domains must use SSO; password login is disabled for them.

Turning off password fallback for everyone at once is abrupt: anyone who has not yet tried SSO is locked out the moment you save. A scheduled password cutoff is the safer way to enforce SSO on a deadline. You pick the exact date and time password login stops for a domain, and until then both methods keep working, so users have a grace period to migrate.

You choose which of your verified and locked domains the cutoff applies to, plus a cutoff date and time. You enter the time in your own timezone, and Pactly stores it internally as UTC. Domains you do not select are left alone.

Before the cutoff, users on the selected domains can sign in with either SSO or a password, exactly as they do today. After the cutoff, those domains require a fresh SSO sign-in and password login stops working for them, the same end state as SSO only but reached on your schedule rather than all at once.

The cutoff only takes effect while Allow password login as fallback is on, since it governs when that fallback ends for the selected domains. If you have already turned fallback off, users on your locked domains must use SSO immediately anyway, so there is nothing for a cutoff to schedule.

Step 4: Choose which domains see the SSO button (optional)

Section titled “Step 4: Choose which domains see the SSO button (optional)”

By default, everyone in your organization is offered SSO at sign-in. That’s right for most setups — but some organizations have verified domains whose users don’t exist in the Entra tenant at all (for example, a subsidiary or affiliated institution with its own directory). For those users, the SSO button is a dead end: it can only fail, and it confuses them.

The SSO sign-in visibility card fixes this. Switch it from All domains see SSO sign-in to Only selected domains see SSO sign-in and tick the domains whose users actually have Entra ID accounts:

  • Selected domains are offered SSO as usual (with or without password fallback, per Step 3).
  • Everyone else — unselected domains and any other email domain — goes straight to the password step and never sees the SSO button. Password login always stays available to them, even when Step 3 is set to SSO only: hiding SSO from a domain carves it out of the SSO rules entirely, so those users can’t be locked out.
SSO sign-in visibility card with the Only selected domains see SSO sign-in switch on, a domain list with one of two verified domains selected, and a summary of domains offered SSO sign-in
SSO sign-in visibility: only the ticked domains are offered the SSO button; users at other domains sign in with a password.

Only domains that are verified and locked can be selected, and domains under a scheduled password cutoff always see SSO sign-in (the cutoff requires it). Leave the switch on All domains see SSO sign-in unless you have a domain that genuinely can’t use SSO.

Found under User Provisioning, Pactly offers two ways to create and remove accounts without manual admin work. They are independent, and you can use either or both.

JIT creates a Pactly account the first time a new person signs in through SSO, so you don’t pre-create users.

  1. Switch Just-In-Time provisioning to enabled.
  2. Set the Default Role new users receive on first sign-in (User, Manager, Approver, Lite, Viewer, or Requester).
  3. Click Save.

Everyone who signs in for the first time lands with this role, so set it to what your typical user should have. You can change individuals afterward in User management.

SCIM lets Entra ID push user changes to Pactly directly: it creates accounts when you assign someone to the provisioning app in Entra ID, and deactivates them when you unassign or offboard the person. This is how you make sure leavers lose Pactly access automatically. On the Entra side, provisioning runs through a small dedicated enterprise application you create there (separate from the SSO app — the SCIM guide walks through it).

  1. Switch SCIM 2.0 provisioning to enabled.
  2. Copy the SCIM Endpoint URL shown, and paste it into the provisioning settings of that dedicated app in Entra ID.
  3. Click Generate Token to create a SCIM Bearer Token, then copy it into the same Entra provisioning settings.
  4. Click Save.

For the full walkthrough, including the Entra ID provisioning setup, allowed SCIM operations, attribute mapping, and deprovisioning behavior, see SCIM user provisioning.

User Provisioning card with Just-In-Time provisioning enabled, a Default Role dropdown, SCIM 2.0 provisioning enabled, allowed SCIM operations checkboxes, the SCIM Endpoint URL, and the Generate Token button
The User Provisioning card with both JIT and SCIM enabled.

Pactly’s sign-in is email-first: the user enters their email, and Pactly then routes them to the right method based on their domain.

Email-first sign-in
Always first
Enter email Pactly checks the domain
Then, by domain
Standard Pactly password Domains without SSO see a password field.
SSO Microsoft Entra ID button SSO domains are routed to your identity provider instead.
Finally
If MFA is on One-time code A second factor, not a way to skip the password
Signed in

SSO route Optional MFA · the same sign-in covers the web app and the Pactly Word Plugin; the one-time code is multi-factor authentication, not a passwordless login

If their domain is set up for SSO — and offered it, per Step 4 — Pactly routes them to the button labeled with your Display Name instead of asking for a password. When you leave Allow password login as fallback on, users on those domains can still reach a Pactly password from the SSO screen; only SSO only removes that option. Users on domains you excluded in Step 4 get the plain password step, exactly as if the organization had no SSO. The same sign-in covers the Pactly web app and the Pactly Word Plugin, which opens a Microsoft sign-in popup and returns to the add-in once authenticated.

For the end-user sign-in experience, see Signing in to Pactly.

SSO governs how people sign in. For programmatic access (API keys, webhooks), see the Pactly developer documentation. Those are configured separately and are not part of SSO.

Chat with us

We typically reply within a few minutes