You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this tutorial, you'll learn how to integrate MongoDB Cloud with Azure Active Directory (Azure AD). When you integrate MongoDB Cloud with Azure AD, you can:
25
25
26
-
* Control in Azure AD who has access to MongoDB Cloud, MongoDB Atlas, the MongoDB Community, University, and Support.
27
-
* Enable your users to be automatically signed-in to MongoDB Cloud with their Azure AD accounts.
28
-
* Manage your accounts in one central location - the Azure portal.
26
+
* Control in Azure AD who has access to MongoDB Cloud, MongoDB Atlas, the MongoDB community, MongoDB University, and MongoDB Support.
27
+
* Enable your users to be automatically signedin to MongoDB Cloud with their Azure AD accounts.
28
+
* Manage your accounts in one central location: the Azure portal.
29
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).
30
+
To learn more about software as a service (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
31
32
32
## Prerequisites
33
33
34
-
To get started, you need the following items:
34
+
To get started, you need:
35
35
36
36
* An Azure AD subscription. If you don't have a subscription, you can get a [free account](https://azure.microsoft.com/free/).
37
-
* MongoDB Cloud single sign-on (SSO) enabled subscription.
37
+
*A MongoDB Cloud subscription that is enabled for single sign-on (SSO).
38
38
39
39
## Scenario description
40
40
41
41
In this tutorial, you configure and test Azure AD SSO in a test environment.
42
42
43
-
* MongoDB Cloud supports **SP and IDP** initiated SSO
44
-
* MongoDB Cloud supports **Just In Time** user provisioning
45
-
*Once you configure MongoDB Cloud you can enforce session control, which protect exfiltration and infiltration of your organization’s sensitive data in real-time. Session control extend 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).
43
+
* MongoDB Cloud supports **SP** and **IDP** initiated SSO.
44
+
* MongoDB Cloud supports **Just In Time** user provisioning.
45
+
*After you configure MongoDB Cloud, you can enforce session control, which protects exfiltration and infiltration of your organization’s sensitive data in realtime. Session control extends from conditional access. For more information, see[Learn how to enforce session control with Microsoft Cloud App Security](https://docs.microsoft.com/cloud-app-security/proxy-deployment-any-app).
46
46
47
-
## Adding MongoDB Cloud from the gallery
47
+
## Add MongoDB Cloud from the gallery
48
48
49
49
To configure the integration of MongoDB Cloud into Azure AD, you need to add MongoDB Cloud from the gallery to your list of managed SaaS apps.
50
50
51
-
1. Sign in to the [Azure portal](https://portal.azure.com) using either a work or school account, or a personal Microsoft account.
52
-
1. On the left navigation pane, select the **Azure Active Directory** service.
53
-
1.Navigate to **Enterprise Applications** and then select **All Applications**.
54
-
1. To add new application, select **New application**.
51
+
1. Sign in to the [Azure portal](https://portal.azure.com)by using either a work or school account, or a personal Microsoft account.
52
+
1. On the left pane, select **Azure Active Directory**.
53
+
1.Go to **Enterprise Applications**, and then select **All Applications**.
54
+
1. To add a new application, select **New application**.
55
55
1. In the **Add from the gallery** section, type **MongoDB Cloud** in the search box.
56
-
1. Select **MongoDB Cloud** from results panel and then add the app. Wait a few seconds while the app is added to your tenant.
56
+
1. Select **MongoDB Cloud** from the results, and then add the app. Wait a few seconds while the app is added to your tenant.
57
57
58
58
59
59
## Configure and test Azure AD single sign-on for MongoDB Cloud
60
60
61
-
Configure and test Azure AD SSO with MongoDB Cloudusing 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 MongoDB Cloud.
61
+
Configure and test Azure AD SSO with MongoDB Cloud, by using a test user called **B.Simon**. For SSO to work, you need to establish a linked relationship between an Azure AD user and the related user in MongoDB Cloud.
62
62
63
63
To configure and test Azure AD SSO with MongoDB Cloud, complete the following building blocks:
64
64
65
-
1.**[Configure Azure AD SSO](#configure-azure-ad-sso)** - to enable your users to use this feature.
66
-
1.**[Create an Azure AD test user](#create-an-azure-ad-test-user)** - to test Azure AD single sign-on with B.Simon.
67
-
1.**[Assign the Azure AD test user](#assign-the-azure-ad-test-user)** - to enable B.Simon to use Azure AD single sign-on.
68
-
1.**[Configure MongoDB Cloud SSO](#configure-mongodb-cloud-sso)** - to configure the single sign-on settings on application side.
69
-
1.**[Create MongoDB Cloud test user](#create-mongodb-cloud-test-user)** - to have a counterpart of B.Simon in MongoDB Cloud that is linked to the Azure AD representation of user.
70
-
1.**[Test SSO](#test-sso)** - to verify whether the configuration works.
65
+
1.[Configure Azure AD SSO](#configure-azure-ad-sso) to enable your users to use this feature.
66
+
1.[Create an Azure AD test user](#create-an-azure-ad-test-user) to test Azure AD single sign-on with B.Simon.
67
+
1.[Assign the Azure AD test user](#assign-the-azure-ad-test-user) to enable B.Simon to use Azure AD single sign-on.
68
+
1.[Configure MongoDB Cloud SSO](#configure-mongodb-cloud-sso)to configure the single sign-on settings on the application side.
69
+
1.[Create a MongoDB Cloud test user](#create-a-mongodb-cloud-test-user)to have a counterpart of B.Simon in MongoDB Cloud, linked to the Azure AD representation of the user.
70
+
1.[Test SSO](#test-sso) to verify whether the configuration works.
71
71
72
72
## Configure Azure AD SSO
73
73
74
74
Follow these steps to enable Azure AD SSO in the Azure portal.
75
75
76
-
1. In the [Azure portal](https://portal.azure.com/), on the **MongoDB Cloud** application integration page, find the **Manage** section and select**single sign-on**.
76
+
1. In the [Azure portal](https://portal.azure.com/), on the **MongoDB Cloud** application integration page, find the **Manage** section. Select**single sign-on**.
77
77
1. On the **Select a single sign-on method** page, select **SAML**.
78
-
1. On the **Set up single sign-on with SAML** page, click the edit/pen icon for **Basic SAML Configuration** to edit the settings.
78
+
1. On the **Set up Single Sign-On with SAML** page, select the pencil icon for **Basic SAML Configuration** to edit the settings.

81
81
82
-
1.On the **Basic SAML Configuration** section, if you wish to configure the application in **IDP** initiated mode, enter the values for the following fields:
82
+
1.In the **Basic SAML Configuration** section, if you want to configure the application in **IDP** initiated mode, enter the values for the following fields:
83
83
84
-
a. In the **Identifier** text box, type a URL using the following pattern:
84
+
a. In the **Identifier** text box, type a URL that uses the following pattern:
1.Click**Set additional URLs** and perform the following step if you wish to configure the application in **SP** initiated mode:
90
+
1.Select**Set additional URLs**, and perform the following step if you want to configure the application in **SP** initiated mode:
91
91
92
-
In the **Sign-on URL** text box, type a URL using the following pattern:
92
+
In the **Sign-on URL** text box, type a URL that uses the following pattern:
93
93
`https://cloud.mongodb.com/sso/<Customer_Unique>`
94
94
95
95
> [!NOTE]
96
-
> These values are not real. Update these values with the actual Identifier, Reply URL and Sign-on URL. Contact [MongoDB Cloud Client support team](https://support.mongodb.com/) to get these values. You can also refer to the patterns shown in the **Basic SAML Configuration** section in the Azure portal.
96
+
> These values are not real. Update these values with the actual Identifier, Reply URL, and Sign-on URL. To get these values, contact the [MongoDB Cloud Client support team](https://support.mongodb.com/). You can also refer to the patterns shown in the **Basic SAML Configuration** section in the Azure portal.
97
97
98
-
1. MongoDB Cloud 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.
98
+
1.The MongoDB Cloud application expects the SAML assertions to be 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.
99
99
100
-

100
+

101
101
102
-
1. In addition to above, MongoDB Cloud application expects few more attributes to be passed back in SAML response which are shown below. These attributes are also prepopulated but you can review them as per your requirements.
102
+
1. In addition to the preceding attributes, the MongoDB Cloud application expects a few more attributes to be passed back in the SAML response. These attributes are also pre-populated, but you can review them per your requirements.
103
103
104
-
| Name | | Source Attribute|
104
+
| Name | | Source attribute|
105
105
| ---------------| --------------- | --------- |
106
106
| email | | user.userprincipalname |
107
107
| firstName | | user.givenname |
108
108
| lastName | | user.surname |
109
109
110
-
1. On the **Set up single sign-on with SAML** page, in the **SAML Signing Certificate** section, find **Federation Metadata XML** and select**Download** to download the certificate and save it on your computer.
110
+
1. On the **Set up single sign-on with SAML** page, in the **SAML Signing Certificate** section, find **Federation Metadata XML**. Select**Download** to download the certificate and save it on your computer.
1. Select the **Show password** check box, and then write down the value that's displayed in the **Password** box.
127
-
1.Click**Create**.
126
+
1. Select the **Show password** check box, and then write the password down.
127
+
1.Select**Create**.
128
128
129
129
### Assign the Azure AD test user
130
130
131
-
In this section, you'll enable B.Simon to use Azure single sign-on by granting access to MongoDB Cloud.
131
+
In this section, you enable B.Simon to use Azure single sign-on by granting access to MongoDB Cloud.
132
132
133
-
1. In the Azure portal, select **Enterprise Applications**, and then select**All applications**.
133
+
1. In the Azure portal, select **Enterprise Applications** >**All applications**.
134
134
1. In the applications list, select **MongoDB Cloud**.
135
-
1. In the app's overview page, find the **Manage** section and select **Users and groups**.
135
+
1. In the app's overview page, find the **Manage** section, and select **Users and groups**.
136
136
137
-

137
+

138
138
139
-
1. Select **Add user**, then select**Users and groups**in the **Add Assignment** dialog.
139
+
1. Select **Add user**. Then, in the**Add Assignment**dialog box, select **Users and groups**.
140
140
141
-

141
+

142
142
143
-
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.
144
-
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.
145
-
1. In the **Add Assignment** dialog, click the **Assign** button.
143
+
1. In the **Users and groups** dialog box, select **B.Simon** from the list of users. Then choose **Select** at the bottom of the screen.
144
+
1. If you're expecting any role value in the SAML assertion, in the **Select Role** dialog box, select the appropriate role for the user from the list. Then choose **Select** at the bottom of the screen.
145
+
1. In the **Add Assignment** dialog box, select **Assign**.
146
146
147
147
## Configure MongoDB Cloud SSO
148
148
149
-
To configure single sign-on on **MongoDB Cloud** side, you will need the appropriate URLs copied from the Azure portal, and you need to configure the Federation Application for your MongoDB Cloud Organization. Follow the instructions in the [MongoDB Cloud Docs](https://docs.atlas.mongodb.com/security/federated-authentication/index.html). If you encounter any issues, you can contact the [MongoDB Cloud support team](https://support.mongodb.com/) for assistance.
149
+
To configure single sign-on on the MongoDB Cloud side, you need the appropriate URLs copied from the Azure portal. You also need to configure the Federation Application for your MongoDB Cloud Organization. Follow the instructions in the [MongoDB Cloud documentation](https://docs.atlas.mongodb.com/security/federated-authentication/index.html). If you have a problem, contact the [MongoDB Cloud support team](https://support.mongodb.com/).
150
150
151
-
### Create MongoDB Cloud test user
151
+
### Create a MongoDB Cloud test user
152
152
153
-
In this section, a user called B.Simon is created in MongoDB Cloud. MongoDB Cloud supports just-in-time user provisioning, which is enabled by default. There is no action item for you in this section. If a user doesn't already exist in MongoDB Cloud, a new one is created after authentication.
153
+
MongoDB Cloudsupports just-in-time user provisioning, which is enabled by default. There is no additional action for you to take. If a user doesn't already exist in MongoDB Cloud, a new one is created after authentication.
154
154
155
155
## Test SSO
156
156
157
-
In this section, you test your Azure AD single sign-on configuration using the Access Panel.
157
+
In this section, you test your Azure AD single sign-on configuration by using Access Panel.
158
158
159
-
When you click the MongoDB Cloud tile in the Access Panel, you should be automatically signed in to the MongoDB Cloud 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).
159
+
When you select the MongoDB Cloud tile in Access Panel, you're automatically signed in to the MongoDB Cloud for which you set up SSO. For more information, see [Sign in and start apps from the My Apps portal](https://docs.microsoft.com/azure/active-directory/active-directory-saas-access-panel-introduction).
160
160
161
161
## Additional resources
162
162
163
-
-[ 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)
163
+
-[Tutorials for integrating SaaS applications with Azure Active Directory](https://docs.microsoft.com/azure/active-directory/active-directory-saas-tutorial-list)
164
164
165
-
-[What is application access and single sign-on with Azure Active Directory?](https://docs.microsoft.com/azure/active-directory/active-directory-appssoaccess-whatis)
165
+
-[What is application access and single sign-on with Azure Active Directory?](https://docs.microsoft.com/azure/active-directory/active-directory-appssoaccess-whatis)
166
166
167
167
-[What is conditional access in Azure Active Directory?](https://docs.microsoft.com/azure/active-directory/conditional-access/overview)
168
168
169
-
-[Signup for MongoDB Atlas on Azure](https://azuremarketplace.microsoft.com/en-us/marketplace/apps/mongodb.mongodb_atlas_azure_08082019?tab=Overview)
169
+
-[Sign up for MongoDB Atlas on Azure](https://azuremarketplace.microsoft.com/en-us/marketplace/apps/mongodb.mongodb_atlas_azure_08082019?tab=Overview)
170
170
171
171
-[Try MongoDB Cloud with Azure AD](https://aad.portal.azure.com/)
172
172
173
173
-[What is session control in Microsoft Cloud App Security?](https://docs.microsoft.com/cloud-app-security/proxy-intro-aad)
174
174
175
-
-[How to protect MongoDB Cloud with advanced visibility and controls](https://docs.microsoft.com/cloud-app-security/proxy-intro-aad)
175
+
-[Protect MongoDB Cloud with advanced visibility and controls](https://docs.microsoft.com/cloud-app-security/proxy-intro-aad)
0 commit comments