|
| 1 | +--- |
| 2 | +title: 'Tutorial: Azure Active Directory integration with CyberArk SAML Authentication | Microsoft Docs' |
| 3 | +description: Learn how to configure single sign-on between Azure Active Directory and CyberArk SAML Authentication. |
| 4 | +services: active-directory |
| 5 | +documentationCenter: na |
| 6 | +author: jeevansd |
| 7 | +manager: mtillman |
| 8 | +ms.reviewer: celested |
| 9 | + |
| 10 | +ms.assetid: 58d8a0be-5f1b-4680-bbcb-2975e5c57014 |
| 11 | +ms.service: active-directory |
| 12 | +ms.subservice: saas-app-tutorial |
| 13 | +ms.workload: identity |
| 14 | +ms.tgt_pltfrm: na |
| 15 | +ms.devlang: na |
| 16 | +ms.topic: tutorial |
| 17 | +ms.date: 06/10/2019 |
| 18 | +ms.author: jeedes |
| 19 | + |
| 20 | +ms.collection: M365-identity-device-management |
| 21 | +--- |
| 22 | + |
| 23 | +# Tutorial: Integrate CyberArk SAML Authentication with Azure Active Directory |
| 24 | + |
| 25 | +In this tutorial, you'll learn how to integrate CyberArk SAML Authentication with Azure Active Directory (Azure AD). When you integrate CyberArk SAML Authentication with Azure AD, you can: |
| 26 | + |
| 27 | +* Control in Azure AD who has access to CyberArk SAML Authentication. |
| 28 | +* Enable your users to be automatically signed-in to CyberArk SAML Authentication with their Azure AD accounts. |
| 29 | +* Manage your accounts in one central location - the Azure portal. |
| 30 | + |
| 31 | +To learn more about SaaS app integration with Azure AD, see [What is application access and single sign-on with Azure Active Directory](https://docs.microsoft.com/azure/active-directory/active-directory-appssoaccess-whatis). |
| 32 | + |
| 33 | +## Prerequisites |
| 34 | + |
| 35 | +To get started, you need the following items: |
| 36 | + |
| 37 | +* An Azure AD subscription. If you don't have a subscription, you can get a [free account](https://azure.microsoft.com/free/). |
| 38 | +* CyberArk SAML Authentication single sign-on (SSO) enabled subscription. |
| 39 | + |
| 40 | +## Scenario description |
| 41 | + |
| 42 | +In this tutorial, you configure and test Azure AD SSO in a test environment. CyberArk SAML Authentication supports **SP and IDP** initiated SSO. |
| 43 | + |
| 44 | +## Adding CyberArk SAML Authentication from the gallery |
| 45 | + |
| 46 | +To configure the integration of CyberArk SAML Authentication into Azure AD, you need to add CyberArk SAML Authentication from the gallery to your list of managed SaaS apps. |
| 47 | + |
| 48 | +1. Sign in to the [Azure portal](https://portal.azure.com) using either a work or school account, or a personal Microsoft account. |
| 49 | +1. On the left navigation pane, select the **Azure Active Directory** service. |
| 50 | +1. Navigate to **Enterprise Applications** and then select **All Applications**. |
| 51 | +1. To add new application, select **New application**. |
| 52 | +1. In the **Add from the gallery** section, type **CyberArk SAML Authentication** in the search box. |
| 53 | +1. Select **CyberArk SAML Authentication** from results panel and then add the app. Wait a few seconds while the app is added to your tenant. |
| 54 | + |
| 55 | +## Configure and test Azure AD single sign-on |
| 56 | + |
| 57 | +Configure and test Azure AD SSO with CyberArk SAML Authentication using a test user called **B. Simon**. For SSO to work, you need to establish a link relationship between an Azure AD user and the related user in CyberArk SAML Authentication. |
| 58 | + |
| 59 | +To configure and test Azure AD SSO with CyberArk SAML Authentication, complete the following building blocks: |
| 60 | + |
| 61 | +1. **[Configure Azure AD SSO](#configure-azure-ad-sso)** to enable your users to use this feature. |
| 62 | +2. **[Configure CyberArk SAML Authentication](#configure-cyberark-saml-authentication)** to configure the SSO settings on application side. |
| 63 | +3. **[Create an Azure AD test user](#create-an-azure-ad-test-user)** to test Azure AD single sign-on with B. Simon. |
| 64 | +4. **[Assign the Azure AD test user](#assign-the-azure-ad-test-user)** to enable B. Simon to use Azure AD single sign-on. |
| 65 | +5. **[Create CyberArk SAML Authentication test user](#create-cyberark-saml-authentication-test-user)** to have a counterpart of B. Simon in CyberArk SAML Authentication that is linked to the Azure AD representation of user. |
| 66 | +6. **[Test SSO](#test-sso)** to verify whether the configuration works. |
| 67 | + |
| 68 | +### Configure Azure AD SSO |
| 69 | + |
| 70 | +Follow these steps to enable Azure AD SSO in the Azure portal. |
| 71 | + |
| 72 | +1. In the [Azure portal](https://portal.azure.com/), on the **CyberArk SAML Authentication** application integration page, find the **Manage** section and select **Single sign-on**. |
| 73 | +1. On the **Select a Single sign-on method** page, select **SAML**. |
| 74 | +1. On the **Set up Single Sign-On with SAML** page, click the edit/pen icon for **Basic SAML Configuration** to edit the settings. |
| 75 | + |
| 76 | +  |
| 77 | + |
| 78 | +1. On the **Basic SAML Configuration** section, if you wish to configure the application in **IDP** initiated mode, perform the following step: |
| 79 | + |
| 80 | + In the **Reply URL** text box, type a URL using the following pattern: |
| 81 | + `https://<PVWA DNS or IP>/passwordvault/api/auth/saml/logon` |
| 82 | + |
| 83 | +1. Click **Set additional URLs** and perform the following step if you wish to configure the application in **SP** initiated mode: |
| 84 | + |
| 85 | + In the **Sign-on URL** text box, type a URL using the following pattern: |
| 86 | + `https://<PVWA DNS or IP>/PasswordVault/v10/logon/saml` |
| 87 | + |
| 88 | + > [!NOTE] |
| 89 | + > These values are not real. Update these values with the actual Reply URL and Sign-On URL. Contact [CyberArk SAML Authentication Client 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 Azure portal. |
| 90 | + |
| 91 | +1. On the **Set up Single Sign-On with SAML** page, in the **SAML Signing Certificate** section, find **Certificate (Raw)** and select **Download** to download the certificate and save it on your computer. |
| 92 | + |
| 93 | +  |
| 94 | + |
| 95 | +1. On the **Set up CyberArk SAML Authentication** section, copy the appropriate URL(s) based on your requirement. |
| 96 | + |
| 97 | +  |
| 98 | + |
| 99 | +### Configure CyberArk SAML Authentication |
| 100 | + |
| 101 | +To configure single sign-on on **CyberArk SAML Authentication ** side, you need to send the downloaded **Certificate (Raw) ** and appropriate copied URLs from Azure portal to [CyberArk SAML Authentication support team ](mailto:[email protected]). They set this setting to have the SAML SSO connection set properly on both sides |
| 102 | + |
| 103 | +### Create an Azure AD test user |
| 104 | + |
| 105 | +In this section, you'll create a test user in the Azure portal called B. Simon. |
| 106 | + |
| 107 | +1. From the left pane in the Azure portal, select **Azure Active Directory**, select **Users**, and then select **All users**. |
| 108 | +1. Select **New user** at the top of the screen. |
| 109 | +1. In the **User** properties, follow these steps: |
| 110 | + 1. In the **Name** field, enter `B. Simon`. |
| 111 | + 1. In the **User name ** field, enter the [email protected]. For example, `B. [email protected]`. |
| 112 | + 1. Select the **Show password** check box, and then write down the value that's displayed in the **Password** box. |
| 113 | + 1. Click **Create**. |
| 114 | + |
| 115 | +### Assign the Azure AD test user |
| 116 | + |
| 117 | +In this section, you'll enable B. Simon to use Azure single sign-on by granting access to CyberArk SAML Authentication. |
| 118 | + |
| 119 | +1. In the Azure portal, select **Enterprise Applications**, and then select **All applications**. |
| 120 | +1. In the applications list, select **CyberArk SAML Authentication**. |
| 121 | +1. In the app's overview page, find the **Manage** section and select **Users and groups**. |
| 122 | + |
| 123 | +  |
| 124 | + |
| 125 | +1. Select **Add user**, then select **Users and groups** in the **Add Assignment** dialog. |
| 126 | + |
| 127 | +  |
| 128 | + |
| 129 | +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. |
| 130 | +1. If you're expecting any role value in the SAML assertion, in the **Select Role** dialog, select the appropriate role for the user from the list and then click the **Select** button at the bottom of the screen. |
| 131 | +1. In the **Add Assignment** dialog, click the **Assign** button. |
| 132 | + |
| 133 | +### Create CyberArk SAML Authentication test user |
| 134 | + |
| 135 | +In this section, you create a user called Britta Simon in CyberArk SAML Authentication. Work with [CyberArk SAML Authentication support team ](mailto:[email protected]) to add the users in the CyberArk SAML Authentication platform. Users must be created and activated before you use single sign-on. |
| 136 | + |
| 137 | +### Test SSO |
| 138 | + |
| 139 | +When you select the CyberArk SAML Authentication tile in the Access Panel, you should be automatically signed in to the CyberArk SAML Authentication for which you set up SSO. For more information about the Access Panel, see [Introduction to the Access Panel](https://docs.microsoft.com/azure/active-directory/active-directory-saas-access-panel-introduction). |
| 140 | + |
| 141 | +## Additional Resources |
| 142 | + |
| 143 | +- [List of Tutorials on How to Integrate SaaS Apps with Azure Active Directory](https://docs.microsoft.com/azure/active-directory/active-directory-saas-tutorial-list) |
| 144 | + |
| 145 | +- [What is application access and single sign-on with Azure Active Directory?](https://docs.microsoft.com/azure/active-directory/active-directory-appssoaccess-whatis) |
| 146 | + |
| 147 | +- [What is conditional access in Azure Active Directory?](https://docs.microsoft.com/azure/active-directory/conditional-access/overview) |
0 commit comments