SSO with Microsoft Entra ID (Azure AD)
Step-by-step: connect Plenix single sign-on to Microsoft Entra ID (Azure AD / Microsoft 365), using OpenID Connect (recommended) or SAML.
This guide connects Plenix to Microsoft Entra ID, the sign-in service behind Microsoft 365 (formerly Azure AD). Your team can then click Sign in with Microsoft on the Plenix login page.
You need to be an administrator in Plenix and have the Application Administrator (or Global Administrator) role in Microsoft Entra.
There are two ways to do it. Option A (OpenID Connect) is quicker and recommended. Use option B only if your IT policy requires SAML.
Option A: OpenID Connect (recommended)
A1. Copy the redirect URI from Plenix
- In Plenix, go to Settings β SSO.
- In Details for your identity provider, copy the Redirect URI (web platform).
A2. Register the app in Microsoft Entra
- Go to entra.microsoft.com and sign in as an administrator.
- Open Identity β Applications β App registrations and click New registration.
- Name:
Plenix. - Supported account types: Accounts in this organizational directory only (Single tenant).
- Redirect URI: choose platform Web and paste the Redirect URI from Plenix.
- Click Register.
A3. Note the IDs
On the app's Overview page, copy:
- Application (client) ID. This is the Plenix Client ID.
- Directory (tenant) ID. You need it for the Issuer URL.
Your Issuer URL is:
https://login.microsoftonline.com/<Directory (tenant) ID>/v2.0
Replace <Directory (tenant) ID> with the ID you copied. Don't use common or organizations. Plenix needs your own tenant ID.
A4. Create a client secret
- Open Certificates & secrets β Client secrets β New client secret.
- Give it a description (for example Plenix SSO) and pick an expiry. 24 months is the maximum.
- Click Add, then copy the Value column straight away. Don't copy the Secret ID, and note that the value is hidden once you leave the page.
- Put a reminder in your calendar a few weeks before the expiry date (see Renewing the secret below).
A5. Check permissions
Open API permissions. Microsoft Graph User.Read is added by default. Click Add a permission β Microsoft Graph β Delegated permissions and tick openid, email and profile, then Add permissions. If your organisation requires it, click Grant admin consent.
A6. Connect it in Plenix
- Back in Settings β SSO, click Connect identity provider.
- Protocol: OpenID Connect.
- Button label:
Microsoft. - Issuer URL: the address from step A3.
- Client ID: the Application (client) ID.
- Client secret: the secret value from step A4.
- Set Allowed email domains (for example
acme.com), and choose whether to auto-provision new users. See who can sign in. - Switch on Enable single sign-on and click Save.
A7. Test
Open a private browser window, go to https://<your-workspace>.plenix.cloud/tenant-login, click Sign in with Microsoft, and sign in. The first time, Microsoft may ask you to accept the permissions.
Limit who can use it (optional)
By default anyone in your Microsoft tenant can try to sign in. Plenix still only lets in people who have a Plenix account or match your allowed domains. To restrict it in Microsoft too:
- Go to Identity β Applications β Enterprise applications and open Plenix.
- Under Properties, set Assignment required? to Yes and save.
- Under Users and groups, add the people or groups who should have access.
Renewing the secret
When the secret is close to expiry, create a new one (step A4), paste it into Settings β SSO β Edit β Client secret and save. Then delete the old secret in Entra. If a secret expires before you replace it, SSO sign-in stops until you do. Passwords keep working in the meantime.
Option B: SAML
B1. Copy the SAML details from Plenix
In Settings β SSO, copy the Entity ID (Identifier / Audience) and the Assertion Consumer Service (Reply) URL.
B2. Create the enterprise application
- In entra.microsoft.com, open Identity β Applications β Enterprise applications and click New application.
- Click Create your own application, name it
Plenix, choose Integrate any other application you don't find in the gallery (Non-gallery), and click Create. - Open Single sign-on and choose SAML.
B3. Basic SAML Configuration
Click Edit on Basic SAML Configuration:
- Identifier (Entity ID): paste the Plenix Entity ID and tick it as default.
- Reply URL (Assertion Consumer Service URL): paste the Plenix ACS URL.
- Sign on URL:
https://<your-workspace>.plenix.cloud/tenant-login(optional). Click Save.
B4. Attributes & Claims
Leave the defaults. Microsoft sends the user's email in the standard emailaddress claim, which Plenix reads. If your users' user principal name is not their email address, edit Unique User Identifier (Name ID) and set it to user.mail with the format Email address.
B5. Copy the metadata URL
In SAML Certificates, copy the App Federation Metadata Url.
B6. Assign people
Open Users and groups β Add user/group and add who should have access.
B7. Connect it in Plenix
- Settings β SSO β Connect identity provider.
- Protocol: SAML 2.0. Button label:
Microsoft. - IdP metadata URL: the App Federation Metadata Url.
- Set allowed domains and provisioning, switch on Enable single sign-on and click Save.
- Test in a private window.
Microsoft renews the signing certificate on its own schedule. Because you used the metadata URL, Plenix picks up the new certificate automatically.
Where to go next
- The full setup guide β Single Sign-On (SSO): Complete Setup Guide
- SSO with Microsoft Entra ID (Azure AD)
- SSO with Google Workspace
- SSO with Okta
- Rolling Out SSO and Fixing Sign-In Problems
- See where this fits in the bigger picture β Integrations Overview β What You Can Connect
β Previous
Accept Online Payments (Stripe, GoCardless, PayPal, BACS)
Next β
SSO with Google Workspace
Was this article helpful?