Quickstart: Require terms of use to be accepted before accessing cloud apps
In this quickstart, you'll configure a Conditional Access policy in Azure Active Directory (Azure AD) to require users to accept terms of use.
Prerequisites
To complete the scenario in this quickstart, you need:
- An Azure account with an active subscription. Create an account for free.
- 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.
- A test account to sign-in with - If you don't know how to create a test account, see Add cloud-based users.
Sign-in without terms of use
The goal of this step is to get an impression of the sign-in experience without a Conditional Access policy.
- Sign in to the Azure portal as your test user.
- Sign out.
Create your terms of use
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.
In Microsoft Word, create a new document.
Type My terms of use, and then save the document on your computer as mytou.pdf.
Sign in to the Azure portal as a Conditional Access Administrator, Security Administrator, or a Global Administrator.
Browse to Azure Active Directory > Security > Conditional Access > Terms of use.
In the menu on the top, select New terms.
In the Name textbox, type My TOU.
Upload your terms of use PDF file.
Select your default language.
In the Display name textbox, type My TOU.
As Require users to expand the terms of use, select On.
As Enforce with Conditional Access policy templates, select Custom policy.
Select Create.
Create a Conditional Access policy
This section shows how to create the required Conditional Access policy.
The scenario in this quickstart uses:
- The Azure portal as placeholder for a cloud app that requires your ToU to be accepted.
- Your sample user to test the Conditional Access policy.
To configure your Conditional Access policy:
- On the New page, in the Name textbox, type Require Terms of Use.
- Under Assignments, select Users or workload identities.
- Under Include, choose Select users and groups > Users and groups.
- Choose your test user, and choose Select.
- Under Assignments, select Cloud apps or actions.
- Select Cloud apps or actions.
- Under Include, choose Select apps.
- Select Microsoft Azure Management, and then choose Select.
- Under Access controls, select Grant.
- Select Grant access.
- Select the terms of use you created previously called My TOU and choose Select.
- In the Enable policy section, select On.
- Select Create.
Test your Conditional Access policy
In the previous section, you created a Conditional Access policy requiring terms of use be accepted.
To test your policy, try to sign-in to your Azure portal using your test account. You should see a dialog that requires you to accept your terms of use.
Clean up resources
When no longer needed, delete the test user and the Conditional Access policy:
If you don't know how to delete an Azure AD user, see Delete users from Azure AD.
To delete your policy, select the ellipsis (...) next to your policies name, then select Delete.
To delete your terms of use, select it, and then select Delete terms.
Next steps
Feedback
Submit and view feedback for