|
1 | 1 | ---
|
2 |
| -title: Conditional Access require terms of use - Azure Active Directory |
3 |
| -description: In this quickstart, you learn how you can require that your terms of use are accepted before access to selected cloud apps is granted by Azure Active Directory Conditional Access. |
| 2 | +title: Quickstart: Require Terms of Use at sign-in |
| 3 | +description: Learn how to require that your terms of use acceptance before access to selected cloud apps is granted with Azure Active Directory Conditional Access. |
| 4 | + |
4 | 5 | services: active-directory
|
5 | 6 | ms.service: active-directory
|
6 | 7 | ms.subservice: conditional-access
|
7 | 8 | ms.topic: quickstart
|
8 |
| -ms.date: 08/05/2022 |
| 9 | +ms.date: 09/22/2022 |
| 10 | + |
9 | 11 | ms.author: joflore
|
10 | 12 | author: MicrosoftGuyJFlo
|
11 | 13 | manager: amycolannino
|
12 | 14 | ms.reviewer: calebb
|
| 15 | + |
13 | 16 | ms.collection: M365-identity-device-management
|
14 |
| -ms.custom: mode-other |
15 |
| -#Customer intent: As an IT admin, I want to ensure that users have accepted my terms of use before accessing selected cloud apps, so that I have a consent from them. |
16 | 17 | ---
|
17 | 18 | # Quickstart: Require terms of use to be accepted before accessing cloud apps
|
18 | 19 |
|
19 |
| -Before accessing certain cloud apps in your environment, you might want to get consent from users in form of accepting your terms of use (ToU). Azure Active Directory (Azure AD) Conditional Access provides you with: |
20 |
| - |
21 |
| -- A simple method to configure ToU |
22 |
| -- The option to require accepting your terms of use through a Conditional Access policy |
23 |
| - |
24 |
| -This quickstart shows how to configure an [Azure AD Conditional Access policy](./overview.md) that requires a ToU to be accepted for a selected cloud app in your environment. |
25 |
| - |
26 |
| -:::image type="content" source="./media/require-tou/5555.png" alt-text="Screenshot of the Azure portal. A pane that defines a policy named Require T O U for Isabella is visible." border="false"::: |
27 |
| - |
28 |
| -If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin. |
| 20 | +In this quickstart you, configure a Conditional Access policy in Azure Active Directory (Azure AD) to require users to accept terms of use. |
29 | 21 |
|
30 | 22 | ## Prerequisites
|
31 | 23 |
|
32 | 24 | To complete the scenario in this quickstart, you need:
|
33 | 25 |
|
34 |
| -- **Access to an Azure AD Premium edition** - Azure AD Conditional Access is an Azure AD Premium capability. |
35 |
| -- **A test account called Isabella Simonsen** - If you don't know how to create a test account, see [Add cloud-based users](../fundamentals/add-users-azure-active-directory.md#add-a-new-user). |
| 26 | +- **An Azure subscription** - If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin. |
| 27 | +- **Azure AD Premium P1 or P2** - Azure AD Conditional Access is an Azure AD Premium capability. You can sign up for a trial in the Azure portal. |
| 28 | +- **A test account to sign-in with** - If you don't know how to create a test account, see [Add cloud-based users](../fundamentals/add-users-azure-active-directory.md#add-a-new-user). |
36 | 29 |
|
37 |
| -## Test your sign-in |
| 30 | +## Sign-in without terms of use |
38 | 31 |
|
39 | 32 | The goal of this step is to get an impression of the sign-in experience without a Conditional Access policy.
|
40 | 33 |
|
41 |
| -**To test your sign-in:** |
42 |
| - |
43 |
| -1. Sign in to your [Azure portal](https://portal.azure.com/) as Isabella Simonsen. |
| 34 | +1. Sign in to the [Azure portal](https://portal.azure.com/) as your test user. |
44 | 35 | 1. Sign out.
|
45 | 36 |
|
46 | 37 | ## Create your terms of use
|
47 | 38 |
|
48 | 39 | This section provides you with the steps to create a sample ToU. When you create a ToU, you select a value for **Enforce with Conditional Access policy templates**. Selecting **Custom policy** opens the dialog to create a new Conditional Access policy as soon as your ToU has been created.
|
49 | 40 |
|
50 |
| -**To create your terms of use:** |
51 |
| - |
52 | 41 | 1. In Microsoft Word, create a new document.
|
53 | 42 | 1. Type **My terms of use**, and then save the document on your computer as **mytou.pdf**.
|
54 |
| -1. Sign in to your [Azure portal](https://portal.azure.com) as Global Administrator, Security Administrator, or a Conditional Access Administrator. |
55 |
| -1. Search for and select **Azure Active Directory**. From the menu on the left-hand side select **Security**. |
56 |
| - |
57 |
| -  |
58 |
| - |
59 |
| -1. Select **Conditional Access**. |
60 |
| - |
61 |
| -  |
62 |
| - |
63 |
| -1. In the **Manage** section, click **Terms of use**. |
| 43 | +1. Sign in to the [Azure portal](https://portal.azure.com) as a Conditional Access Administrator, Security Administrator, or a Global Administrator. |
| 44 | +1. Browse to **Azure Active Directory** > **Security** > **Conditional Access** > **Terms of use**. |
64 | 45 |
|
65 |
| - :::image type="content" source="./media/require-tou/04.png" alt-text="Screenshot of the Manage section of the Azure Active Directory page. The Terms of use item is highlighted." border="false"::: |
66 | 46 |
|
67 |
| -1. In the menu on the top, click **New terms**. |
| 47 | + :::image type="content" source="media/require-tou/terms-of-use-azure-ad-conditional-access.png" alt-text="Terms of use shown in the Azure portal highlighting the new terms button." lightbox="media/require-tou/terms-of-use-azure-ad-conditional-access.png"::: |
68 | 48 |
|
69 |
| - :::image type="content" source="./media/require-tou/05.png" alt-text="Screenshot of a menu in the Azure Active Directory page. The New terms item is highlighted." border="false"::: |
| 49 | +1. In the menu on the top, select **New terms**. |
70 | 50 |
|
71 |
| -1. On the **New terms of use** page: |
| 51 | + :::image type="content" source="media/require-tou/new-terms-of-use-creation.png" alt-text="Creating a new terms of use policy in the Azure portal." lightbox="media/require-tou/new-terms-of-use-creation.png"::: |
72 | 52 |
|
73 |
| - :::image type="content" source="./media/require-tou/112.png" alt-text="Screenshot of the New terms of use page, with the name, display name, document, language, conditional access, and expanding terms toggle highlighted." border="false"::: |
| 53 | +1. In the **Name** textbox, type **My TOU**. |
| 54 | +1. Upload your terms of use PDF file. |
| 55 | +1. Select your default language. |
| 56 | +1. In the **Display name** textbox, type **My TOU**. |
| 57 | +1. As **Require users to expand the terms of use**, select **On**. |
| 58 | +1. As **Enforce with Conditional Access policy templates**, select **Custom policy**. |
| 59 | +1. Select **Create**. |
74 | 60 |
|
75 |
| - 1. In the **Name** textbox, type **My TOU**. |
76 |
| - 1. In the **Display name** textbox, type **My TOU**. |
77 |
| - 1. Upload your terms of use PDF file. |
78 |
| - 1. As **Language**, select **English**. |
79 |
| - 1. As **Require users to expand the terms of use**, select **On**. |
80 |
| - 1. As **Enforce with Conditional Access policy templates**, select **Custom policy**. |
81 |
| - 1. Click **Create**. |
| 61 | +## Create a Conditional Access policy |
82 | 62 |
|
83 |
| -## Create your Conditional Access policy |
| 63 | +This section shows how to create the required Conditional Access policy. |
84 | 64 |
|
85 |
| -This section shows how to create the required Conditional Access policy. The scenario in this quickstart uses: |
| 65 | +The scenario in this quickstart uses: |
86 | 66 |
|
87 | 67 | - The Azure portal as placeholder for a cloud app that requires your ToU to be accepted.
|
88 | 68 | - Your sample user to test the Conditional Access policy.
|
89 | 69 |
|
90 |
| -In your policy, set: |
91 |
| - |
92 |
| -| Setting | Value | |
93 |
| -| --- | --- | |
94 |
| -| Users and groups | Isabella Simonsen | |
95 |
| -| Cloud apps | Microsoft Azure Management | |
96 |
| -| Grant access | My TOU | |
97 |
| - |
98 |
| -:::image type="content" source="./media/require-tou/1234.png" alt-text="Screenshot of an Azure portal pane that defines a policy. Arrows indicate that the policy grants access to My T O U and includes one user and app." border="false"::: |
99 |
| - |
100 | 70 | **To configure your Conditional Access policy:**
|
101 | 71 |
|
102 |
| -1. On the **New** page, in the **Name** textbox, type **Require TOU for Isabella**. |
103 |
| - |
104 |
| -  |
105 |
| - |
106 |
| -1. In the **Assignment** section, click **Users and groups**. |
107 |
| - |
108 |
| - :::image type="content" source="./media/require-tou/06.png" alt-text="Screenshot of the Assignments section of an Azure portal pane that defines a policy. The Users and groups item is visible, with none selected." border="false"::: |
109 |
| - |
110 |
| -1. On the **Users and groups** page: |
111 |
| - |
112 |
| - :::image type="content" source="./media/require-tou/24.png" alt-text="Screenshot of the Include tab of the Users and groups page. Select users and groups is selected, as is Users and groups. Select is highlighted." border="false"::: |
113 |
| - |
114 |
| - 1. Click **Select users and groups**, and then select **Users and groups**. |
115 |
| - 1. Click **Select**. |
116 |
| - 1. On the **Select** page, select **Isabella Simonsen**, and then click **Select**. |
117 |
| - 1. On the **Users and groups** page, click **Done**. |
118 |
| -1. Click **Cloud apps**. |
119 |
| - |
120 |
| - :::image type="content" source="./media/require-tou/08.png" alt-text="Screenshot of the Assignments section of an Azure portal pane that defines a policy. The Cloud apps item is visible, with none selected." border="false"::: |
121 |
| - |
122 |
| -1. On the **Cloud apps** page: |
123 |
| - |
124 |
| -  |
125 |
| - |
126 |
| - 1. Click **Select apps**. |
127 |
| - 1. Click **Select**. |
128 |
| - 1. On the **Select** page, select **Microsoft Azure Management**, and then click **Select**. |
129 |
| - 1. On the **Cloud apps** page, click **Done**. |
130 |
| -1. In the **Access controls** section, click **Grant**. |
131 |
| - |
132 |
| -  |
133 |
| - |
134 |
| -1. On the **Grant** page: |
135 |
| - |
136 |
| -  |
137 |
| - |
| 72 | +1. On the **New** page, in the **Name** textbox, type **Require Terms of Use**. |
| 73 | +1. Under Assignments, select **Users or workload identities**. |
| 74 | + 1. Under Include, choose **Select users and groups** > **Users and groups**. |
| 75 | + 1. Choose your test user, and choose **Select**. |
| 76 | +1. Under Assignments, select **Cloud apps or actions**. |
| 77 | +1. Select **Cloud apps or actions**. |
| 78 | + 1. Under Include, choose **Select apps**. |
| 79 | + 1. Select **Microsoft Azure Management**, and then choose **Select**. |
| 80 | +1. Under **Access controls**, select **Grant**. |
138 | 81 | 1. Select **Grant access**.
|
139 |
| - 1. Select **My TOU**. |
140 |
| - 1. Click **Select**. |
141 |
| -1. In the **Enable policy** section, click **On**. |
142 |
| - |
143 |
| -  |
144 |
| - |
145 |
| -1. Click **Create**. |
146 |
| - |
147 |
| -## Evaluate a simulated sign-in |
148 |
| - |
149 |
| -Now that you have configured your Conditional Access policy, you probably want to know whether it works as expected. As a first step, use the Conditional Access what if policy tool to simulate a sign-in of your test user. The simulation estimates the impact this sign-in has on your policies and generates a simulation report. |
150 |
| - |
151 |
| -To initialize the **What If** policy evaluation tool, set: |
152 |
| - |
153 |
| -- **Isabella Simonsen** as user |
154 |
| -- **Microsoft Azure Management** as cloud app |
155 |
| - |
156 |
| -Clicking **What If** creates a simulation report that shows: |
157 |
| - |
158 |
| -- **Require TOU for Isabella** under **Policies that will apply** |
159 |
| -- **My TOU** as **Grant Controls**. |
160 |
| - |
161 |
| - |
162 |
| - |
163 |
| -**To evaluate your Conditional Access policy:** |
164 |
| - |
165 |
| -1. On the [Conditional Access - Policies](https://portal.azure.com/#blade/Microsoft_AAD_IAM/ConditionalAccessBlade/Policies) page, in the menu on the top, click **What If**. |
166 |
| - |
167 |
| -  |
168 |
| - |
169 |
| -1. Click **Users**, select **Isabella Simonsen**, and then click **Select**. |
170 |
| - |
171 |
| -  |
172 |
| - |
173 |
| -1. To select a cloud app: |
174 |
| - |
175 |
| - :::image type="content" source="./media/require-tou/16.png" alt-text="Screenshot of the Cloud apps section. Text indicates that one app is selected." border="false"::: |
176 |
| - |
177 |
| - 1. Click **Cloud apps**. |
178 |
| - 1. On the **Cloud apps page**, click **Select apps**. |
179 |
| - 1. Click **Select**. |
180 |
| - 1. On the **Select** page, select **Microsoft Azure Management**, and then click **Select**. |
181 |
| - 1. On the cloud apps page, click **Done**. |
182 |
| -1. Click **What If**. |
| 82 | + 1. Select the terms of use you created previously called **My TOU** and choose **Select**. |
| 83 | +1. In the **Enable policy** section, select **On**. |
| 84 | +1. Select **Create**. |
183 | 85 |
|
184 | 86 | ## Test your Conditional Access policy
|
185 | 87 |
|
186 |
| -In the previous section, you have learned how to evaluate a simulated sign-in. In addition to a simulation, you should also test your Conditional Access policy to ensure that it works as expected. |
| 88 | +In the previous section, you created a Conditional Access policy requiring terms of use be accepted. |
187 | 89 |
|
188 |
| -To test your policy, try to sign-in to your [Azure portal](https://portal.azure.com) using your **Isabella Simonsen** test account. You should see a dialog that requires you to accept your terms of use. |
| 90 | +To test your policy, try to sign-in to your [Azure portal](https://portal.azure.com) using your test account. You should see a dialog that requires you to accept your terms of use. |
189 | 91 |
|
190 |
| -:::image type="content" source="./media/require-tou/57.png" alt-text="Screenshot of a dialog box titled Identity Security Protection terms of use, with Decline and Accept buttons and a button labeled My T O U." border="false"::: |
| 92 | +:::image type="content" source="./media/require-tou/57.png" alt-text="Screenshot of a dialog box titled Identity Security Protection terms of use, with Decline and Accept buttons and a button labeled My TOU." border="false"::: |
191 | 93 |
|
192 | 94 | ## Clean up resources
|
193 | 95 |
|
194 | 96 | When no longer needed, delete the test user and the Conditional Access policy:
|
195 | 97 |
|
196 | 98 | - If you don't know how to delete an Azure AD user, see [Delete users from Azure AD](../fundamentals/add-users-azure-active-directory.md#delete-a-user).
|
197 |
| -- To delete your policy, select your policy, and then click **Delete** in the quick access toolbar. |
198 |
| - |
199 |
| - :::image type="content" source="./media/require-tou/33.png" alt-text="Screenshot showing a policy named Require M F A for Azure portal users. The shortcut menu is visible, with Delete highlighted." border="false"::: |
200 |
| - |
201 |
| -- To delete your terms of use, select it, and then click **Delete terms** in the toolbar on top. |
| 99 | +- To delete your policy, select the ellipsis (...) next to your policies name, then select **Delete**. |
| 100 | +- To delete your terms of use, select it, and then select **Delete terms**. |
202 | 101 |
|
203 | 102 | :::image type="content" source="./media/require-tou/29.png" alt-text="Screenshot showing part of a table listing terms of use documents. The My T O U document is visible. In the menu, Delete terms is highlighted." border="false":::
|
204 | 103 |
|
|
0 commit comments