|
| 1 | +--- |
| 2 | +title: 'Tutorial: Azure Active Directory single sign-on (SSO) integration with Mapbox | Microsoft Docs' |
| 3 | +description: Learn how to configure single sign-on between Azure Active Directory and Mapbox. |
| 4 | +services: active-directory |
| 5 | +documentationCenter: na |
| 6 | +author: jeevansd |
| 7 | +manager: mtillman |
| 8 | +ms.reviewer: barbkess |
| 9 | + |
| 10 | +ms.assetid: 78ae0db9-1ba2-4f54-a645-43c537719123 |
| 11 | +ms.service: active-directory |
| 12 | +ms.subservice: saas-app-tutorial |
| 13 | +ms.workload: identity |
| 14 | +ms.tgt_pltfrm: na |
| 15 | +ms.topic: tutorial |
| 16 | +ms.date: 05/21/2020 |
| 17 | +ms.author: jeedes |
| 18 | + |
| 19 | +ms.collection: M365-identity-device-management |
| 20 | +--- |
| 21 | + |
| 22 | +# Tutorial: Azure Active Directory single sign-on (SSO) integration with Mapbox |
| 23 | + |
| 24 | +In this tutorial, you'll learn how to integrate Mapbox with Azure Active Directory (Azure AD). When you integrate Mapbox with Azure AD, you can: |
| 25 | + |
| 26 | +* Control in Azure AD who has access to Mapbox. |
| 27 | +* Enable your users to be automatically signed-in to Mapbox with their Azure AD accounts. |
| 28 | +* Manage your accounts in one central location - the Azure portal. |
| 29 | + |
| 30 | +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/manage-apps/what-is-single-sign-on). |
| 31 | + |
| 32 | +## Prerequisites |
| 33 | + |
| 34 | +To get started, you need the following items: |
| 35 | + |
| 36 | +* An Azure AD subscription. If you don't have a subscription, you can get a [free account](https://azure.microsoft.com/free/). |
| 37 | +* Mapbox single sign-on (SSO) enabled subscription. |
| 38 | + |
| 39 | +## Scenario description |
| 40 | + |
| 41 | +In this tutorial, you configure and test Azure AD SSO in a test environment. |
| 42 | + |
| 43 | +* Mapbox supports **IDP** initiated SSO |
| 44 | +* Once you configure Mapbox 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 Cloud App Security](https://docs.microsoft.com/cloud-app-security/proxy-deployment-any-app). |
| 45 | + |
| 46 | +## Adding Mapbox from the gallery |
| 47 | + |
| 48 | +To configure the integration of Mapbox into Azure AD, you need to add Mapbox from the gallery to your list of managed SaaS apps. |
| 49 | + |
| 50 | +1. Sign in to the [Azure portal](https://portal.azure.com) using either a work or school account, or a personal Microsoft account. |
| 51 | +1. On the left navigation pane, select the **Azure Active Directory** service. |
| 52 | +1. Navigate to **Enterprise Applications** and then select **All Applications**. |
| 53 | +1. To add new application, select **New application**. |
| 54 | +1. In the **Add from the gallery** section, type **Mapbox** in the search box. |
| 55 | +1. Select **Mapbox** from results panel and then add the app. Wait a few seconds while the app is added to your tenant. |
| 56 | + |
| 57 | +## Configure and test Azure AD single sign-on for Mapbox |
| 58 | + |
| 59 | +Configure and test Azure AD SSO with Mapbox 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 Mapbox. |
| 60 | + |
| 61 | +To configure and test Azure AD SSO with Mapbox, complete the following building blocks: |
| 62 | + |
| 63 | +1. **[Configure Azure AD SSO](#configure-azure-ad-sso)** - to enable your users to use this feature. |
| 64 | + 1. **[Create an Azure AD test user](#create-an-azure-ad-test-user)** - to test Azure AD single sign-on with B.Simon. |
| 65 | + 1. **[Assign the Azure AD test user](#assign-the-azure-ad-test-user)** - to enable B.Simon to use Azure AD single sign-on. |
| 66 | +1. **[Configure Mapbox SSO](#configure-mapbox-sso)** - to configure the single sign-on settings on application side. |
| 67 | + 1. **[Create Mapbox test user](#create-mapbox-test-user)** - to have a counterpart of B.Simon in Mapbox that is linked to the Azure AD representation of user. |
| 68 | +1. **[Test SSO](#test-sso)** - to verify whether the configuration works. |
| 69 | + |
| 70 | +## Configure Azure AD SSO |
| 71 | + |
| 72 | +Follow these steps to enable Azure AD SSO in the Azure portal. |
| 73 | + |
| 74 | +1. In the [Azure portal](https://portal.azure.com/), on the **Mapbox** application integration page, find the **Manage** section and select **single sign-on**. |
| 75 | +1. On the **Select a single sign-on method** page, select **SAML**. |
| 76 | +1. On the **Set up single sign-on with SAML** page, click the edit/pen icon for **Basic SAML Configuration** to edit the settings. |
| 77 | + |
| 78 | +  |
| 79 | + |
| 80 | +1. On the **Basic SAML Configuration** section, the application is pre-configured and the necessary URLs are already pre-populated with Azure. The user needs to save the configuration by clicking the **Save** button. |
| 81 | + |
| 82 | +1. Mapbox application expects the SAML assertions in a specific format, which requires you to add custom attribute mappings to your SAML token attributes configuration. The following screenshot shows the list of default attributes. |
| 83 | + |
| 84 | +  |
| 85 | + |
| 86 | +1. In addition to above, Mapbox application expects few more attributes to be passed back in SAML response which are shown below. These attributes are also pre populated but you can review them as per your requirements. |
| 87 | + |
| 88 | + | Name | Source Attribute| |
| 89 | + | -----|--------- | |
| 90 | + | role | user.assignedroles | |
| 91 | + | | | |
| 92 | + |
| 93 | + > [!NOTE] |
| 94 | + > To understand how to configure roles in Azure AD, see [here](https://docs.microsoft.com/azure/active-directory/develop/active-directory-enterprise-app-role-management). |
| 95 | + |
| 96 | +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. |
| 97 | + |
| 98 | +  |
| 99 | + |
| 100 | +1. On the **Set up Mapbox** section, copy the appropriate URL(s) based on your requirement. |
| 101 | + |
| 102 | +  |
| 103 | + |
| 104 | +### Create an Azure AD test user |
| 105 | + |
| 106 | +In this section, you'll create a test user in the Azure portal called B.Simon. |
| 107 | + |
| 108 | +1. From the left pane in the Azure portal, select **Azure Active Directory**, select **Users**, and then select **All users**. |
| 109 | +1. Select **New user** at the top of the screen. |
| 110 | +1. In the **User** properties, follow these steps: |
| 111 | + 1. In the **Name** field, enter `B.Simon`. |
| 112 | + 1. In the **User name ** field, enter the [email protected]. For example, `[email protected]`. |
| 113 | + 1. Select the **Show password** check box, and then write down the value that's displayed in the **Password** box. |
| 114 | + 1. Click **Create**. |
| 115 | + |
| 116 | +### Assign the Azure AD test user |
| 117 | + |
| 118 | +In this section, you'll enable B.Simon to use Azure single sign-on by granting access to Mapbox. |
| 119 | + |
| 120 | +1. In the Azure portal, select **Enterprise Applications**, and then select **All applications**. |
| 121 | +1. In the applications list, select **Mapbox**. |
| 122 | +1. In the app's overview page, find the **Manage** section and select **Users and groups**. |
| 123 | + |
| 124 | +  |
| 125 | + |
| 126 | +1. Select **Add user**, then select **Users and groups** in the **Add Assignment** dialog. |
| 127 | + |
| 128 | +  |
| 129 | + |
| 130 | +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. |
| 131 | +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. |
| 132 | +1. In the **Add Assignment** dialog, click the **Assign** button. |
| 133 | + |
| 134 | +## Configure Mapbox SSO |
| 135 | + |
| 136 | +1. In a different web browser window, sign into Mapbox as an administrator. |
| 137 | + |
| 138 | +1. Click on the **Settings** tab. |
| 139 | + |
| 140 | +  |
| 141 | + |
| 142 | +1. Click on the **Security** tab from the left navigation pane. |
| 143 | + |
| 144 | +  |
| 145 | + |
| 146 | +1. Click **Edit single sign-on**. |
| 147 | + |
| 148 | +  |
| 149 | + |
| 150 | +1. Scroll down to **Step 3: Setup SAML single sign-on for Mapbox** and perform the following steps: |
| 151 | + |
| 152 | +  |
| 153 | + |
| 154 | + 1. In the **Idp Sign-on URL** textbox, paste **Login URL** value, which you have copied from the Azure portal. |
| 155 | + |
| 156 | + 1. In the **Issuer ID** textbox, paste **Azure AD Identifier** value, which you have copied from the Azure portal. |
| 157 | + |
| 158 | + 1. Open the downloaded **Certificate (Raw)** file from the Azure portal into Notepad and copy content of certificate file and paste it into the **X.509 certificate** textbox. |
| 159 | + |
| 160 | + 1. Click **Save single sign-on settings**. |
| 161 | + |
| 162 | +### Create Mapbox test user |
| 163 | + |
| 164 | +In this section, you create a user called Britta Simon in Mapbox. Work with [Mapbox support team ](mailto:[email protected]) to add the users in the Mapbox platform. Users must be created and activated before you use single sign-on. |
| 165 | + |
| 166 | +## Test SSO |
| 167 | + |
| 168 | +In this section, you test your Azure AD single sign-on configuration using the Access Panel. |
| 169 | + |
| 170 | +When you click the Mapbox tile in the Access Panel, you should be automatically signed in to the Mapbox 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). |
| 171 | + |
| 172 | +## Additional resources |
| 173 | + |
| 174 | +- [ 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) |
| 175 | + |
| 176 | +- [What is application access and single sign-on with Azure Active Directory? ](https://docs.microsoft.com/azure/active-directory/active-directory-appssoaccess-whatis) |
| 177 | + |
| 178 | +- [What is conditional access in Azure Active Directory?](https://docs.microsoft.com/azure/active-directory/conditional-access/overview) |
| 179 | + |
| 180 | +- [Try Mapbox with Azure AD](https://aad.portal.azure.com/) |
| 181 | + |
| 182 | +- [What is session control in Microsoft Cloud App Security?](https://docs.microsoft.com/cloud-app-security/proxy-intro-aad) |
| 183 | + |
| 184 | +- [How to protect Mapbox with advanced visibility and controls](https://docs.microsoft.com/cloud-app-security/proxy-intro-aad) |
| 185 | + |
0 commit comments