--- title: "Configure SAML SSO with Azure Entra ID in Gainsight" slug: "configure-saml-sso-with-azure-entra-id-in-gainsight" updated: 2026-11-23T12:30:38Z published: 2026-11-23T12:30:38Z canonical: "support.gainsight.com/configure-saml-sso-with-azure-entra-id-in-gainsight" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.gainsight.com/llms.txt > Use this file to discover all available pages before exploring further. # Configure SAML SSO with Azure Entra ID in Gainsight This article explains howGainsight administrators canset up SAML-based Single Sign-On (SSO) using Microsoft Azure Entra ID. This article explains howGainsight administrators canset up SAML-based Single Sign-On (SSO) using Microsoft Azure Entra ID. ## Overview SAML-based Single Sign-On (SSO) enables users to access Gainsight using their organization's existing Microsoft Azure Entra ID credentials. This enhances security, simplifies user access, and centralizes identity management. The process includes: - [**Azure Configuration**](/v1/docs/configure-saml-sso-with-azure-entra-id-in-gainsight#add-azure-entra-id-as-a-saml-idp-in-gainsight): Set up a new enterprise application in Azure and generate the necessary SAML metadata. - [**Gainsight Configuration**](/v1/docs/configure-saml-sso-with-azure-entra-id-in-gainsight#configure-gainsight-to-use-azure-entra-id-for-sso): Add Azure Entra ID as a SAML Identity Provider (IdP) and complete metadata mapping. Following these steps allows admins to securely connect Gainsight to Azure for seamless user authentication. ## Prerequisites Before you begin, ensure you have the following: - Access to the Microsoft Azure portal with permissions to create and manage Enterprise Applications. - Gainsight admin access to configure authentication settings under User Management. - The organization's email domain used for user logins. ## Add Azure Entra ID as a SAML IdP in Gainsight To integrate Azure with Gainsight, first configure a SAML application in Azure Entra ID and then connect it to Gainsight using metadata and certificate details from Azure. ### Set Up the Gainsight SAML Application To configure Gainsight to use Azure Entra ID as a SAML identity provider: 1. Sign in to the Microsoft Azure portal. 2. Click the *menu* icon in the upper left corner to open the portal menu. ![configure Gainsight to use Azure Entra ID as a SAML identity provider](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/1._SAML.jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A28%3A51Z&se=2026-11-24T20%3A28%3A51Z&sr=b&sp=r&sig=QMZaT8DIAw8BSjMamp2BFUS2FDi%2F5ioBAQFgX9BC5TA%3D) 3. From the menu, select **Microsoft Entra ID** to open the identity management dashboard. ![select Microsoft Entra ID to open the identity management dashboard](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/2._Entra_ID.jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A28%3A51Z&se=2026-11-24T20%3A28%3A51Z&sr=b&sp=r&sig=odAqY1j1%2Bx0RuidVcTdWFXckPzZNFjrGGKdzjoym61s%3D) 4. From the Entra ID overview, click **+ Add**, then select **Enterprise application**. This opens the **Browse Microsoft Entra App Gallery** page to search for available applications. ![opens the Browse Microsoft Entra App Gallery page to search for available applications](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/3._Overview.jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A28%3A51Z&se=2026-11-24T20%3A28%3A51Z&sr=b&sp=r&sig=VGG44YDpn6AVSKo5mlYPFnDUPaAXESlPDgnOZO4wWOY%3D) 5. In the search bar, type **Gainsight SAML** and press Enter. 6. Select the **Gainsight SAML** application from the results. ![Select the Gainsight SAML application from the results](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/4._SAML_application.jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A28%3A51Z&se=2026-11-24T20%3A28%3A51Z&sr=b&sp=r&sig=lCk84khbKam7aaVlMKFcMTEN52JWf2KIoJysGc03mcI%3D) 7. Provide a name for the application in the **Name** field. 8. Click **Create** to add the application. Once created, the **Gainsight SAML | Overview** page opens. ![SAML.jpg](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/SAML.jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A28%3A51Z&se=2026-11-24T20%3A28%3A51Z&sr=b&sp=r&sig=VxDhZtaAPchi5xiY5K8xWfLXc%2Fxm3Q0ZhMhSntJKPoM%3D) ### Configure SAML Single Sign-On Set up SAML as the single sign-on method for the Gainsight application in Azure as explained in the previous section. Once created, the Gainsight SAML | Overview page appears, where you can configure single sign-on, assign users, and manage access settings. 1. On the **Gainsight SAML | Overview** page, in the **Getting Started** section, select **Set up single sign on.** ![Set up SAML as the single sign-on method for the Gainsight application in Azure](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/6._setup_SAML.jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A28%3A51Z&se=2026-11-24T20%3A28%3A51Z&sr=b&sp=r&sig=dT%2F73vr54EYH%2B%2FnVmRN%2BxMvGasL8y34Ow8GzRjMFz9M%3D) 2. On the Single sign-on method page, choose **SAML** as the sign-on method. ![On the Single sign-on method page, choose SAML as the sign-on method](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/7._Choose_SAML.jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A28%3A51Z&se=2026-11-24T20%3A28%3A51Z&sr=b&sp=r&sig=JCog7jpTNQjIeBNY1%2FUAakQBilWiijYv1A54ujsWcMk%3D) 3. In the **Basic SAML Configuration** section, click **Edit**. 1. To enable certificate download, enter placeholder values in the required fields: - **Identifier (Entity ID)**: xyz - **Reply URL (Assertion Consumer Service URL:** [https://xyz.com](https://xyz.com) **Note:** These values are temporary and are required only to download the certificate, which is later uploaded in Gainsight during SAML configuration. 2. Click **Save** to apply the values. ![Basic SAML Configuration section, click Edit](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/8._Basic_SAML_config.jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A28%3A51Z&se=2026-11-24T20%3A28%3A51Z&sr=b&sp=r&sig=Cs55PDuP2%2F2ByCtvBb47eTN0fIKyWre9I1ENF4fshbI%3D) ### Download Certificate and SAML URLs Download the SAML certificate and copy the required URLs from the Gainsight SAML configuration page in Azure. 1. Navigate to the **SAML Certificates** section and download the **Certificate (Base64)** file. ![Download the SAML certificate and copy the required URLs](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/9._Download_certificate.jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A28%3A51Z&se=2026-11-24T20%3A28%3A51Z&sr=b&sp=r&sig=gZrzaYNeaqpr7Ph4q%2BUe%2FMYIz7kd4UEOrlGcMun1yV8%3D) 2. Navigate to the Set up Gainsight SAML2 section on the same page, and copy the **Login URL** and **Logout URL** *(Optional)*. ![ Set up Gainsight SAML2 section and copy the URL](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/10._Copy_URL.jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A28%3A51Z&se=2026-11-24T20%3A28%3A51Z&sr=b&sp=r&sig=3zylTLmD6t0QHjw7PnYPjCA72umhcR6LhgLVab%2BYrOE%3D) This completes the Azure setup and provides the values required to configure SAML in Gainsight. **IMPORTANT:** Assign users to the Gainsight SAML application in Azure before testing the login from Gainsight. ## Configure Gainsight to Use Azure Entra ID for SSO To complete the SAML integration, configure Gainsight to recognize Azure Entra ID as a SAML identity provider using the values collected from Azure. ### Add a SAML Authentication Method in Gainsight Add a new SAML authentication method in Gainsight using the values obtained from Azure Entra ID. 1. Navigate to **Administration**> **User Management and click the Authentication** tab. 2. From the Add Authentication dropdown menu, select **SAML.** The **SAML Mechanism** configuration dialog box appears. ![Add SAML authentication method](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/11._Add_SAML.jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A28%3A51Z&se=2026-11-24T20%3A28%3A51Z&sr=b&sp=r&sig=R10JK%2FzxajkmGEjxtFlKs4yqSm1wMxDXPjrLzqKuAyc%3D) 3. In the **SAML Mechanism** dialog box, enter the following details: - **Name**: Enter a unique name for this method. - **Email Domain**: Enter the domain that matches user email addresses. - **Sign In URL**: Paste the **Login URL** copied from Azure. - *(Optional)* **Sign Out URL**: Paste the **Logout URL** copied from Azure. - **Certificate**: Upload the **Base64 certificate** downloaded from Azure. - *(Optional)* **Field Mapping**: Keep as Username (default; no changes needed). ![In the SAML Mechanism update the details](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/12._SAML_mechanism.jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A28%3A51Z&se=2026-11-24T20%3A28%3A51Z&sr=b&sp=r&sig=xZEH2DLnt8g3Ki0e5%2B2tUUJ2fV1WKU6Vtpjm6z7wBlQ%3D) 4. Click **Save** to create the authentication method. You are redirected to the Authentication page. ### Download and Review Gainsight Metadata Download the metadata file from Gainsight and extract the values required to complete the SAML configuration in Azure. 1. On the **Authentication** page, from the Login Methods tab, locate the newly created SAML method. 2. Click the *three-dots horizontal* menu corresponding to the new entry, and select **Edit**. ![In Login Methods tab, locate the newly created SAML method](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/13._SAML_method.png?sv=2026-02-06&spr=https&st=2026-11-24T19%3A28%3A51Z&se=2026-11-24T20%3A28%3A51Z&sr=b&sp=r&sig=zJr1RxzF5peVePcrSnVQiFvX1mXY68t%2BPZxlwpMV1%2BE%3D) 3. Click **Download** to save the metadata XML file locally. ![Download the metadata file and extract the values required](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/14._Download.jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A28%3A51Z&se=2026-11-24T20%3A28%3A51Z&sr=b&sp=r&sig=9nb5PVamezQWgVH5ve4Ar1DY7cuyPy8aqvt%2FgN%2FozrY%3D) 4. Open the metadata file in any text editor and locate the following values: - **entityID**: Format appears as urn:auth0:gainsight: - **AssertionConsumerService URL**: Format appears as *https:// secured.gainsightcloud.com/l...ck?connection=* ### Update SAML Configuration in Azure Return to the Azure portal. 1. Navigate to the **Basic SAML Configuration** section in the Gainsight SAML application. 2. Click **Edit**, and update the fields with values from the Gainsight metadata: - **Identifier (Entity ID)**: Enter the entityID value. - **Reply URL (Assertion Consumer Service URL)**: Enter the AssertionConsumerService URL. 3. Click **Save** to apply the changes. ![update the fields with values from the Gainsight metadata](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/15._Update_details.jpg?sv=2026-02-06&spr=https&st=2026-11-24T19%3A28%3A51Z&se=2026-11-24T20%3A28%3A51Z&sr=b&sp=r&sig=DtoeSBbK9f4IxDexq%2BqiD0FdzI%2B1QVR1tPRGMZRWKwY%3D)