|
| 1 | +--- |
| 2 | +title: Microsoft Entra SSO integration with The People Experience Hub |
| 3 | +description: Learn how to configure single sign-on between Microsoft Entra ID and The People Experience Hub. |
| 4 | +services: active-directory |
| 5 | +author: jeevansd |
| 6 | +manager: CelesteDG |
| 7 | +ms.reviewer: CelesteDG |
| 8 | +ms.service: active-directory |
| 9 | +ms.subservice: saas-app-tutorial |
| 10 | +ms.workload: identity |
| 11 | +ms.topic: how-to |
| 12 | +ms.date: 09/22/2023 |
| 13 | +ms.author: jeedes |
| 14 | + |
| 15 | +--- |
| 16 | + |
| 17 | +# Microsoft Entra SSO integration with The People Experience Hub |
| 18 | + |
| 19 | +In this tutorial, you'll learn how to integrate The People Experience Hub with Microsoft Entra ID. When you integrate The People Experience Hub with Microsoft Entra ID, you can: |
| 20 | + |
| 21 | +* Control in Microsoft Entra ID who has access to The People Experience Hub. |
| 22 | +* Enable your users to be automatically signed-in to The People Experience Hub with their Microsoft Entra accounts. |
| 23 | +* Manage your accounts in one central location. |
| 24 | + |
| 25 | +## Prerequisites |
| 26 | + |
| 27 | +To integrate Microsoft Entra ID with The People Experience Hub, you need: |
| 28 | + |
| 29 | +* A Microsoft Entra subscription. If you don't have a subscription, you can get a [free account](https://azure.microsoft.com/free/). |
| 30 | +* The People Experience Hub single sign-on (SSO) enabled subscription. |
| 31 | + |
| 32 | +## Scenario description |
| 33 | + |
| 34 | +In this tutorial, you configure and test Microsoft Entra SSO in a test environment. |
| 35 | + |
| 36 | +* The People Experience Hub supports **SP and IDP** initiated SSO. |
| 37 | + |
| 38 | +> [!NOTE] |
| 39 | +> Identifier of this application is a fixed string value so only one instance can be configured in one tenant. |
| 40 | +
|
| 41 | +## Adding The People Experience Hub from the gallery |
| 42 | + |
| 43 | +To configure the integration of The People Experience Hub into Microsoft Entra ID, you need to add The People Experience Hub from the gallery to your list of managed SaaS apps. |
| 44 | + |
| 45 | +1. Sign in to the [Microsoft Entra admin center](https://entra.microsoft.com) as at least a [Cloud Application Administrator](../roles/permissions-reference.md#cloud-application-administrator). |
| 46 | +1. Browse to **Identity** > **Applications** > **Enterprise applications** > **New application**. |
| 47 | +1. In the **Add from the gallery** section, type **The People Experience Hub** in the search box. |
| 48 | +1. Select **The People Experience Hub** from results panel and then add the app. Wait a few seconds while the app is added to your tenant. |
| 49 | + |
| 50 | +Alternatively, you can also use the [Enterprise App Configuration Wizard](https://portal.office.com/AdminPortal/home?Q=Docs#/azureadappintegration). In this wizard, you can add an application to your tenant, add users/groups to the app, assign roles, and walk through the SSO configuration as well. [Learn more about Microsoft 365 wizards.](/microsoft-365/admin/misc/azure-ad-setup-guides) |
| 51 | + |
| 52 | +## Configure and test Microsoft Entra SSO for The People Experience Hub |
| 53 | + |
| 54 | +Configure and test Microsoft Entra SSO with The People Experience Hub using a test user called **B.Simon**. For SSO to work, you need to establish a link relationship between a Microsoft Entra user and the related user in The People Experience Hub. |
| 55 | + |
| 56 | +To configure and test Microsoft Entra SSO with The People Experience Hub, perform the following steps: |
| 57 | + |
| 58 | +1. **[Configure Microsoft Entra SSO](#configure-microsoft-entra-sso)** - to enable your users to use this feature. |
| 59 | + 1. **[Create a Microsoft Entra ID test user](#create-a-microsoft-entra-id-test-user)** - to test Microsoft Entra single sign-on with B.Simon. |
| 60 | + 1. **[Assign the Microsoft Entra ID test user](#assign-the-microsoft-entra-id-test-user)** - to enable B.Simon to use Microsoft Entra single sign-on. |
| 61 | +1. **[Configure The People Experience Hub SSO](#configure-the-people-experience-hub-sso)** - to configure the single sign-on settings on application side. |
| 62 | + 1. **[Create The People Experience Hub test user](#create-the-people-experience-hub-test-user)** - to have a counterpart of B.Simon in The People Experience Hub that is linked to the Microsoft Entra ID representation of user. |
| 63 | +1. **[Test SSO](#test-sso)** - to verify whether the configuration works. |
| 64 | + |
| 65 | +## Configure Microsoft Entra SSO |
| 66 | + |
| 67 | +Follow these steps to enable Microsoft Entra SSO in the Microsoft Entra admin center. |
| 68 | + |
| 69 | +1. Sign in to the [Microsoft Entra admin center](https://entra.microsoft.com) as at least a [Cloud Application Administrator](../roles/permissions-reference.md#cloud-application-administrator). |
| 70 | +1. Browse to **Identity** > **Applications** > **Enterprise applications** > **The People Experience Hub** > **Single sign-on**. |
| 71 | +1. On the **Select a single sign-on method** page, select **SAML**. |
| 72 | +1. On the **Set up single sign-on with SAML** page, click the pencil icon for **Basic SAML Configuration** to edit the settings. |
| 73 | + |
| 74 | +  |
| 75 | + |
| 76 | +1. On the **Basic SAML Configuration** section, perform the following steps: |
| 77 | + |
| 78 | + a. In the **Identifier** textbox, type the URL: |
| 79 | + `https://app.pxhub.io` |
| 80 | + |
| 81 | + b. In the **Reply URL** textbox, type a URL using the following pattern: |
| 82 | + `https://auth.api.pxhub.io/v1/auth/saml/<COMPANY_ID>/assert` |
| 83 | + |
| 84 | +1. Perform the following step, if you wish to configure the application in **SP** initiated mode: |
| 85 | + |
| 86 | + In the **Sign on URL** textbox, type a URL using the following pattern: |
| 87 | + `https://auth.api.pxhub.io/v1/auth/saml/<COMPANY_ID>/login` |
| 88 | + |
| 89 | + > [!NOTE] |
| 90 | + > These values are not real. Update these values with the actual Reply URL and Sign on URL. Contact [The People Experience Hub support team](mailto:[email protected]) to get these values. You can also refer to the patterns shown in the **Basic SAML Configuration** section in the Microsoft Entra admin center. |
| 91 | + |
| 92 | +1. On the **Set up single sign-on with SAML** page, in the **SAML Signing Certificate** section, find **Certificate (Base64)** and select **Download** to download the certificate and save it on your computer. |
| 93 | + |
| 94 | +  |
| 95 | + |
| 96 | +1. On the **Set up The People Experience Hub** section, copy the appropriate URL(s) based on your requirement. |
| 97 | + |
| 98 | +  |
| 99 | + |
| 100 | +### Create a Microsoft Entra ID test user |
| 101 | + |
| 102 | +In this section, you'll create a test user in the Microsoft Entra admin center called B.Simon. |
| 103 | + |
| 104 | +1. Sign in to the [Microsoft Entra admin center](https://entra.microsoft.com) as at least a [User Administrator](../roles/permissions-reference.md#user-administrator). |
| 105 | +1. Browse to **Identity** > **Users** > **All users**. |
| 106 | +1. Select **New user** > **Create new user**, at the top of the screen. |
| 107 | +1. In the **User** properties, follow these steps: |
| 108 | + 1. In the **Display name** field, enter `B.Simon`. |
| 109 | + 1. In the **User principal name ** field, enter the [email protected]. For example, `[email protected]`. |
| 110 | + 1. Select the **Show password** check box, and then write down the value that's displayed in the **Password** box. |
| 111 | + 1. Select **Review + create**. |
| 112 | +1. Select **Create**. |
| 113 | + |
| 114 | +### Assign the Microsoft Entra ID test user |
| 115 | + |
| 116 | +In this section, you'll enable B.Simon to use Microsoft Entra single sign-on by granting access to The People Experience Hub. |
| 117 | + |
| 118 | +1. Sign in to the [Microsoft Entra admin center](https://entra.microsoft.com) as at least a [Cloud Application Administrator](../roles/permissions-reference.md#cloud-application-administrator). |
| 119 | +1. Browse to **Identity** > **Applications** > **Enterprise applications** > **The People Experience Hub**. |
| 120 | +1. In the app's overview page, select **Users and groups**. |
| 121 | +1. Select **Add user/group**, then select **Users and groups** in the **Add Assignment** dialog. |
| 122 | + 1. In the **Users and groups** dialog, select **B.Simon** from the Users list, then click the **Select** button at the bottom of the screen. |
| 123 | + 1. If you are expecting a role to be assigned to the users, you can select it from the **Select a role** dropdown. If no role has been set up for this app, you see "Default Access" role selected. |
| 124 | + 1. In the **Add Assignment** dialog, click the **Assign** button. |
| 125 | + |
| 126 | +## Configure The People Experience Hub SSO |
| 127 | + |
| 128 | +1. Log in to The People Experience Hub company site as an administrator. |
| 129 | + |
| 130 | +1. Go to **Admin Settings** > **Integrations** > **Single Sign-On** and click **Manage**. |
| 131 | + |
| 132 | +  |
| 133 | + |
| 134 | +1. In the **SAML 2.0 Single sign-on** page, perform the following steps: |
| 135 | + |
| 136 | +  |
| 137 | + |
| 138 | + 1. **Enable SAML 2.0 Single sign-on** toggle on. |
| 139 | + |
| 140 | + 1. Copy **EntityID** value, paste this value into the **Identifier** textbox in the **Basic SAML Configuration** section in Microsoft Entra admin center. |
| 141 | + |
| 142 | + 1. Copy **Login URL** value, paste this value into the **Sign on URL** textbox in the **Basic SAML Configuration** section in Microsoft Entra admin center. |
| 143 | + |
| 144 | + 1. Copy **Reply URL** value, paste this value into the **Reply URL** textbox in the **Basic SAML Configuration** section in Microsoft Entra admin center. |
| 145 | + |
| 146 | + 1. In the **SSO Login URL** textbox, paste the **Login URL** value, which you copied from the Microsoft Entra admin center. |
| 147 | + |
| 148 | + 1. Open the downloaded **Certificate (Base64)** into Notepad and paste the content into the **X509 Certificate** textbox. |
| 149 | + |
| 150 | + 1. Click **Save Configuration**. |
| 151 | + |
| 152 | +### Create The People Experience Hub test user |
| 153 | + |
| 154 | +1. In a different web browser window, sign into The People Experience Hub website as an administrator. |
| 155 | + |
| 156 | +1. Navigate to **Admin Settings** > **Users** and click **Create**. |
| 157 | + |
| 158 | +  |
| 159 | + |
| 160 | +1. In the **Create a new admin users** section, perform the following steps: |
| 161 | + |
| 162 | +  |
| 163 | + |
| 164 | + 1. In the **Email** textbox, enter a valid email address of the user. |
| 165 | + |
| 166 | + 1. In the **First Name** textbox, enter the first name of the user. |
| 167 | + |
| 168 | + 1. In the **Last Name** textbox, enter the last name of the user. |
| 169 | + |
| 170 | + 1. Click **Create User**. |
| 171 | + |
| 172 | +## Test SSO |
| 173 | + |
| 174 | +In this section, you test your Microsoft Entra single sign-on configuration with following options. |
| 175 | + |
| 176 | +#### SP initiated: |
| 177 | + |
| 178 | +* Click on **Test this application** in Microsoft Entra admin center. This will redirect to The People Experience Hub Sign-on URL where you can initiate the login flow. |
| 179 | + |
| 180 | +* Go to The People Experience Hub Sign-on URL directly and initiate the login flow from there. |
| 181 | + |
| 182 | +#### IDP initiated: |
| 183 | + |
| 184 | +* Click on **Test this application** in Microsoft Entra admin center and you should be automatically signed in to The People Experience Hub for which you set up the SSO. |
| 185 | + |
| 186 | +You can also use Microsoft My Apps to test the application in any mode. When you click The People Experience Hub tile in the My Apps, if configured in SP mode you would be redirected to the application sign-on page for initiating the login flow and if configured in IDP mode, you should be automatically signed in to The People Experience Hub for which you set up the SSO. For more information about the My Apps, see [Introduction to the My Apps](../user-help/my-apps-portal-end-user-access.md). |
| 187 | + |
| 188 | +## Next Steps |
| 189 | + |
| 190 | +Once you configure The People Experience Hub you can enforce session control, which protects exfiltration and infiltration of your organization's sensitive data in real time. Session control extends from Conditional Access. [Learn how to enforce session control with Microsoft Defender for Cloud Apps](/cloud-app-security/proxy-deployment-any-app). |
0 commit comments