Overview
Use this guide to enable SAML-based Single Sign-On (including Just-In-Time (JIT) provisioning with SAML) for the Persona Dashboard through Azure.
By default, users can log in through SAML or with email and password. To configure SAML enforcement, a user with Admin permissions goes to Organization > Authentication..
Retrieve your Organization Slug
Log in to your Persona dashboard as a user with Admin permissions.
- Go to Organization > Authentication.
- Your Organization Slug is under Single sign-on.
Write down your Organization Slug. You need it in the next steps.
Add Persona to Azure
-
Log in to your Azure organization as a user with administrative privileges.
-
Go to Enterprise applications through Entra ID > Identity > Enterprise Applications.
- Click New Application > Create your own application.
- Enter “Persona” as the name of the new Application. Keep the default setting and continue.
- If your application already exists, click on it.
-
Go to Manage > Single sign-on to start.
-
Configure SAML. Enter these values in the fields:
- Identifier (Entity ID):
https://withpersona.com/saml/<ORGANIZATION-SLUG>/metadata - Reply URL:
https://withpersona.com/saml/<ORGANIZATION-SLUG>/acs
ORGANIZATION-SLUGcomes from the first section (Retrieving your Organization Slug) - Identifier (Entity ID):
-
Go to Attributes & Claims. It shows some default values. Edit these values:
- Click the Givenname attribute. Change Name to
name_firstand remove the values under Namespace. Click Save. - Click the Surname attribute. Change Name to
name_lastand remove the values under Namespace. Click Save.
Persona does not require a namespace for SAML attributes. You can use simple keys, for example
name_firstandname_last. Persona automatically identifies and maps them correctly. - Click the Givenname attribute. Change Name to
-
After a successful test of your connection, find your App Federation Metadata URL. You use it to complete the integration with Persona. This URL is under Section 3: SAML Certificates. Copy it and keep it for the next steps.
- The URL is similar to:
https://login.microsoftonline.com/d215b91d-512b/federationmetadata/2007-06/federationmetadata.xml?appid=<app_id>
- The URL is similar to:
Complete the Azure integration in Persona
- Log in to your Persona dashboard as a user with Admin permissions.
- Go to Organization > Authentication.
- Under Single sign-on, click Manage.
- Enter the Metadata URL that you got from the Azure SSO configuration.
- Click Get metadata.
Set up SSO with the App Federation Metadata Url, not with a static metadata XML file. Persona reads the URL again. When you activate a new SAML signing certificate in Azure, Persona gets it automatically. Your SSO continues to work, and you do not have to change Persona.
If the setup is successful, a notification tells you that your Azure integration is set up.
Logging in to Persona through Azure
- To log in to Persona through Azure, first make sure that the user is assigned to the Application in Azure.
- The users see the application on their My Apps and O365 app launcher. When they click Persona, they should automatically log in to their Persona dashboard.
Renewing an expiring SAML SSO certificate
SAML signing certificates expire (by default, Azure issues them for 3 years). Persona monitors the expiration date of your certificate and reminds you before it expires. But you must generate the replacement certificate in Azure (Microsoft Entra ID) and make it available to Persona.
If Persona already has your live App Federation Metadata Url, we automatically get the renewed certificate after you activate it in Azure. You do not have to do more on the Persona side. If you set up your integration with a static metadata XML file, you must upload the updated metadata again each time the certificate rotates. To prevent this, change it to the App Federation Metadata Url.
You do not have to create a new enterprise application. Use the existing application that you set up for Persona login. A new application is the most frequent cause of broken SSO.
Generate a new certificate in Azure
-
Sign in to the Microsoft Entra admin center as a Cloud Application Administrator (or higher).
-
Go to Entra ID > Enterprise apps > All applications. Open the existing application that you use for Persona login.
-
Under Manage, select Single sign-on.

-
In the SAML Certificates section, select the Edit (pencil) icon. The SAML Signing Certificate page opens.

-
Select New Certificate. A new row shows. By default, its expiration date is three years from now (you can change the date).

-
Select Save. The new certificate appears with a status of Inactive.
Activate the new certificate
Keep your current certificate Active until the new one is activated and works. Keep a copy of your existing metadata XML, so that you can go back to it if logins stop working.
- On the SAML Signing Certificate page, find the row of the new (Inactive) certificate.
- Select the ellipsis (…) next to it. Then select Make certificate active. Its status changes to Active, and the previous certificate becomes Inactive.
Refresh the metadata in Persona
If Persona already has your live App Federation Metadata Url, Persona gets the renewed certificate automatically. You can then skip these steps. If your integration still uses a static metadata file, change it to the URL now. Then you do not have to do anything for future rotations:
- In Azure, copy your App Federation Metadata Url from the SAML Certificates section.
- Log in to your Persona dashboard as a user with Admin permissions.
- Go to Organization > Authentication.
- Under Single sign-on, click Manage.
- Enter the metadata URL and click Get metadata.
FAQs
Is it possible to send over the user’s role in Persona as an attribute in the SAML assertion?
At this time, all new users get the default role of the Organization. You configure this role in the dashboard. At this time, we do not support a user role as an attribute. If this is a high priority for your team, contact your Persona contact or Persona support to tell us about your need.
Plans Explained
SAML-based SSO with Azure by plan
| Startup Program | Essential Plan | Growth Plan | Enterprise Plan | |
|---|---|---|---|---|
| SAML-based SSO with Azure | Available | Available | Available | Available |
| SCIM with Azure | Not Available | Not Available | Not Available | Available |