Azure Active Directory terms of use
Azure AD terms of use policies provide a simple method that organizations can use to present information to end users. This presentation ensures users see relevant disclaimers for legal or compliance requirements. This article describes how to get started with terms of use (ToU) policies.
Note
This article provides steps about how to delete personal data from the device or service and can be used to support your obligations under the GDPR. For general information about GDPR, see the GDPR section of the Microsoft Trust Center and the GDPR section of the Service Trust portal.
Overview videos
The following video provides a quick overview of ToU policies.
For more videos, see:
- How to deploy a terms of use policy in Azure Active Directory
- How to roll out a terms of use policy in Azure Active Directory
What can I do with terms of use?
Organizations can use terms of use along with Conditional Access policies to require employees or guests to accept your terms of use policy before getting access. These terms of use statements can be generalized or specific to groups or users and provided in multiple languages. Administrators can determine who has or hasn't accepted terms of use with the provided logs or APIs.
Prerequisites
To use and configure Azure AD terms of use policies, you must have:
- A working Azure AD tenant with Azure AD Premium P1, or trial license enabled. If needed, create one for free.
- Administrators who interact with terms of use must have one or more of the following role assignments depending on the tasks they're performing. To follow the Zero Trust principle of least privilege, consider using Privileged Identity Management (PIM) to just-in-time activate privileged role assignments.
- Read terms of use configuration and Conditional Access policies
- Create or modify terms of use and Conditional Access policies
Terms of use document
Azure AD terms of use policies use the PDF format to present content. The PDF file can be any content, such as existing contract documents, allowing you to collect end-user agreements during user sign-in. To support users on mobile devices, the recommended font size in the PDF is 24 point.
Add terms of use
Once you've completed your terms of use policy document, use the following procedure to add it.
Sign in to the Azure portal as a Conditional Access Administrator or Security Administrator.
Browse to Azure Active Directory > Security > Conditional Access > Terms of use.
Select, New terms.
In the Name box, enter a name for the terms of use policy used in the Azure portal.
For Terms of use document, browse to your finalized terms of use policy PDF and select it.
Select the language for your terms of use policy document. The language option allows you to upload multiple terms of use policies, each with a different language. The version of the terms of use policy that an end user sees is based on their browser preferences.
In the Display name box, enter a title that users see when they sign in.
To require end users to view the terms of use policy before accepting them, set Require users to expand the terms of use to On.
To require end users to accept your terms of use policy on every device they're accessing from, set Require users to consent on every device to On. Users may be required to install other applications if this option is enabled. For more information, see Per-device terms of use.
If you want to expire terms of use policy consents on a schedule, set Expire consents to On. When set to On, two more schedule settings are displayed.
Use the Expire starting on and Frequency settings to specify the schedule for terms of use policy expirations. The following table shows the result for a couple of example settings:
Expire starting on Frequency Result Today's date Monthly Starting today, users must accept the terms of use policy and then reaccept every month. Date in the future Monthly Starting today, users must accept the terms of use policy. When the future date occurs, consents expire, and then users must reaccept every month. For example, if you set the expire starting on date to Jan 1 and frequency to Monthly, this is how expirations might occur for two users:
User First accept date First expire date Second expire date Third expire date Alice Jan 1 Feb 1 Mar 1 Apr 1 Bob Jan 15 Feb 1 Mar 1 Apr 1 Use the Duration before re-acceptance required (days) setting to specify the number of days before the user must reaccept the terms of use policy. This option allows users to follow their own schedule. For example, if you set the duration to 30 days, this is how expirations might occur for two users:
User First accept date First expire date Second expire date Third expire date Alice Jan 1 Jan 31 Mar 2 Apr 1 Bob Jan 15 Feb 14 Mar 16 Apr 15 It's possible to use the Expire consents and Duration before re-acceptance required (days) settings together, but typically you use one or the other.
Under Conditional Access, use the Enforce with Conditional Access policy template list to select the template to enforce the terms of use policy.
Template Description Custom policy Select the users, groups, and apps that this terms of use policy is applied to. Create Conditional Access policy later This terms of use policy appears in the grant control list when creating a Conditional Access policy. Important
Conditional Access policy controls (including terms of use policies) do not support enforcement on service accounts. We recommend excluding all service accounts from the Conditional Access policy.
Custom Conditional Access policies enable granular terms of use policies, down to a specific cloud application or group of users. For more information, see Quickstart: Require terms of use to be accepted before accessing cloud apps.
Select Create.
If you selected a custom Conditional Access template, then a new screen appears that allows you to create the custom Conditional Access policy.
You should now see your new terms of use policies.
View report of who has accepted and declined
The Terms of use blade shows a count of the users who have accepted and declined. These counts and who accepted/declined are stored for the life of the terms of use policy.
Sign in to Azure and navigate to Terms of use at https://aka.ms/catou.
For a terms of use policy, select the numbers under Accepted or Declined to view the current state for users.
To view the history for an individual user, select the ellipsis (...) and then View History.
In the view history pane, you see a history of all the accepts, declines, and expirations.
View Azure AD audit logs
If you want to view more activity, Azure AD terms of use policies include audit logs. Each user consent triggers an event in the audit logs that is stored for 30 days. You can view these logs in the portal or download as a .csv file.
To get started with Azure AD audit logs, use the following procedure:
Sign in to the Azure portal as a Conditional Access Administrator, Security Administrator, or Global Administrator.
Browse to Azure Active Directory > Security > Conditional Access > Terms of use.
Select a terms of use policy.
Select View audit logs.
On the Azure AD audit logs screen, you can filter the information using the provided lists to target specific audit log information.
You can also select Download to download the information in a .csv file for use locally.
If you select a log, a pane appears with more activity details.
What terms of use looks like for users
Once a ToU policy is created and enforced, users, who are in scope, see the following screen during sign-in.
Users can view the terms of use policy and, if necessary, use buttons to zoom in and out.
The following screen shows how a ToU policy looks on mobile devices.
Users are only required to accept the terms of use policy once, and they won't see the terms of use policy again on later sign-ins.
How users can review their terms of use
Users can review and see the terms of use policies that they've accepted by using the following procedure.
- Sign in to https://myaccount.microsoft.com/.
- Select Settings & Privacy.
- Select Privacy.
- Under Organization's notice, select View next to the terms of use statement you want to review.
Edit terms of use details
You can edit some details of terms of use policies, but you can't modify an existing document. The following procedure describes how to edit the details.
Sign in to the Azure portal as a Conditional Access Administrator, Security Administrator, or Global Administrator.
Browse to Azure Active Directory > Security > Conditional Access > Terms of use.
Select the terms of use policy you want to edit.
Select Edit terms.
In the Edit terms of use pane, you can change the following options:
- Name – the internal name of the ToU that isn't shared with end users
- Display name – the name that end users can see when viewing the ToU
- Require users to expand the terms of use – Setting this option to On forces the end user to expand the terms of use policy document before accepting it.
- (Preview) You can update an existing terms of use document
- You can add a language to an existing ToU
If there are other settings you would like to change, such as PDF document, require users to consent on every device, expire consents, duration before reacceptance, or Conditional Access policy, you must create a new ToU policy.
Once you're done, select Save to save your changes.
Update the version or pdf of an existing terms of use
Sign in to the Azure portal as a Conditional Access Administrator, Security Administrator, or Global Administrator.
Browse to Azure Active Directory > Security > Conditional Access > Terms of use.
Select the terms of use policy you want to edit.
Select Edit terms.
For the language that you would like to update a new version, select Update under the action column
In the pane on the right, upload the pdf for the new version
There's also a toggle option here Require reaccept if you want to require your users to accept this new version the next time they sign in. If you require your users to reaccept, next time they try to access the resource defined in your conditional access policy they'll be prompted to accept this new version. If you don’t require your users to reaccept, their previous consent stays current and only new users who haven't consented before or whose consent expires see the new version. Until the session expires, Require reaccept not require users to accept the new TOU. If you want to ensure reaccept, delete and recreate or create a new TOU for this case.
Once you've uploaded your new pdf and decided on reaccept, select Add at the bottom of the pane.
You see the most recent version under the Document column.
View previous versions of a ToU
Sign in to the Azure portal as a Conditional Access Administrator, Security Administrator, or Global Administrator.
Browse to Azure Active Directory > Security > Conditional Access > Terms of use.
Select the terms of use policy for which you want to view a version history.
Select Languages and version history
Select See previous versions.
You can select the name of the document to download that version
See who has accepted each version
- Sign in to the Azure portal as a Conditional Access Administrator, Security Administrator, or Global Administrator.
- Browse to Azure Active Directory > Security > Conditional Access > Terms of use.
- To see who has currently accepted the ToU, select the number under the Accepted column for the ToU you want.
- By default, the next page will show you the current state of each user's acceptance to the ToU
- If you would like to see the previous consent events, you can select All from the Current State drop-down. Now you can see each user's events in details about each version and what happened.
- Alternatively, you can select a specific version from the Version drop-down to see who has accepted that specific version.
Add a ToU language
The following procedure describes how to add a ToU language.
Sign in to the Azure portal as a Conditional Access Administrator, Security Administrator, or Global Administrator.
Browse to Azure Active Directory > Security > Conditional Access > Terms of use.
Select the terms of use policy you want to edit.
Select Edit Terms
Select Add language at the bottom of the page.
In the Add terms of use language pane, upload your localized PDF, and select the language.
Select Add language.
Select Save
Select Add to add the language.
Per-device terms of use
The Require users to consent on every device setting enables you to require end users to accept your terms of use policy on every device they're accessing from. The end user is required to register their device in Azure AD. When the device is registered, the device ID is used to enforce the terms of use policy on each device.
Supported platforms and software.
iOS | Android | Windows 10 | Other | |
---|---|---|---|---|
Native app | Yes | Yes | Yes | |
Microsoft Edge | Yes | Yes | Yes | |
Internet Explorer | Yes | Yes | Yes | |
Chrome (with extension) | Yes | Yes | Yes |
Per-device terms of use have the following constraints:
- A device can only be joined to one tenant.
- A user must have permissions to join their device.
- The Intune Enrollment app isn't supported. Ensure that it's excluded from any Conditional Access policy requiring Terms of Use policy.
- Azure AD B2B users aren't supported.
If the user's device isn't joined, they receive a message that they need to join their device. Their experience is dependent on the platform and software.
Join a Windows 10 device
If a user is using Windows 10 and Microsoft Edge, they receive a message similar to the following to join their device.
If they're using Chrome, they're prompted to install the Windows 10 Accounts extension.
Register an iOS device
If a user is using an iOS device, they're prompted to install the Microsoft Authenticator app.
Register an Android device
If a user is using an Android device, they're prompted to install the Microsoft Authenticator app.
Browsers
If a user is using browser that isn't supported, they're asked to use a different browser.
Delete terms of use
You can delete old terms of use policies using the following procedure.
Sign in to the Azure portal as a Conditional Access Administrator, Security Administrator, or Global Administrator.
Browse to Azure Active Directory > Security > Conditional Access > Terms of use.
Select the terms of use policy you want to remove.
Select Delete terms.
In the message that appears asking if you want to continue, select Yes.
You should no longer see your terms of use policy.
User acceptance record deletion
User acceptance records are deleted:
- When the admin explicitly deletes the ToU. When this change happens, all the acceptance records associated with that specific ToU are also deleted.
- When the tenant loses its Azure Active Directory Premium license.
- When the tenant is deleted.
Policy changes
Conditional Access policies take effect immediately. When this happens, the administrator starts to see “sad clouds” or "Azure AD token issues". The administrator must sign out and sign in to satisfy the new policy.
Important
Users in scope will need to sign-out and sign-in in order to satisfy a new policy if:
- a Conditional Access policy is enabled on a terms of use policy
- or a second terms of use policy is created
B2B guests
Most organizations have a process in place for their employees to consent to their organization's terms of use policy and privacy statements. But how can you enforce the same consents for Azure AD business-to-business (B2B) guests when they're added via SharePoint or Teams? Using Conditional Access and terms of use policies, you can enforce a policy directly towards B2B guest users. During the invitation redemption flow, the user is presented with the terms of use policy.
Terms of use policies will only be displayed when the user has a guest account in Azure AD. SharePoint Online currently has an ad hoc external sharing recipient experience to share a document or a folder that doesn't require the user to have a guest account. In this case, a terms of use policy isn't displayed.
Support for cloud apps
Terms of use policies can be used for different cloud apps, such as Azure Information Protection and Microsoft Intune. This support is currently in preview.
Azure Information Protection
You can configure a Conditional Access policy for the Azure Information Protection app and require a terms of use policy when a user accesses a protected document. This configuration triggers a terms of use policy before a user accessing a protected document for the first time.
Microsoft Intune Enrollment
You can configure a Conditional Access policy for the Microsoft Intune Enrollment app and require a terms of use policy before enrollment of a device in Intune. For more information, see the Read Choosing the right Terms solution for your organization blog post.
Note
The Intune Enrollment app is not supported for Per-device terms of use.
Note
For iOS/iPadOS Automated device enrollment, adding a custom URL to the Azure AD Terms of Use policy doesn't allow for users to open the policy from the URL in Setup Assistant to read it. The policy can be read by the user after Setup Assistant is completed from the Company Portal website, or in the Company Portal app.
Frequently asked questions
Q: I cannot sign in using PowerShell when terms of use is enabled.
A: Terms of use can only be accepted when authenticating interactively.
Q: How do I see when/if a user has accepted a terms of use?
A: On the Terms of use blade, select the number under Accepted. You can also view or search the accept activity in the Azure AD audit logs. For more information, see View report of who has accepted and declined and View Azure AD audit logs.
Q: How long is information stored?
A: The user counts in the terms of use report and who accepted/declined are stored for the life of the terms of use. The Azure AD audit logs are stored for 30 days.
Q: Why do I see a different number of consents in the terms of use details overview versus the Azure AD audit logs?
A: The terms of use details overview data is stored for the lifetime of that terms of use policy, while the Azure AD audit logs are stored for 30 days.
Q: Why do I see a different number of consents in the terms of use details overview versus the exported CSV report?
A: The terms of use details overview reflect aggregated acceptances of the current version of the policy (updated once every day). If expiration is enabled or a TOU agreement is updated (with reacceptance required), the count on the details overview is reset since the acceptances are expired, thereby showing the count of the current version. All acceptance history is still captured in the CSV report.
Q: If hyperlinks are in the terms of use policy PDF document, will end users be able to click them?
A: Yes, end users are able to select hyperlinks to other pages but links to sections within the document aren't supported. Also, hyperlinks in terms of use policy PDFs don't work when accessed from the Azure AD MyApps/MyAccount portal.
Q: Can a terms of use policy support multiple languages?
A: Yes. Currently there are 108 different languages an administrator can configure for a single terms of use policy. An administrator can upload multiple PDF documents and tag those documents with a corresponding language (up to 108). When end users sign in, we look at their browser language preference and display the matching document. If there's no match, we display the default document, which is the first document that is uploaded.
Q: When is the terms of use policy triggered?
A: The terms of use policy is triggered during the sign-in experience.
Q: What applications can I target a terms of use policy to?
A: You can create a Conditional Access policy on the enterprise applications using modern authentication. For more information, see enterprise applications.
Q: Can I add multiple terms of use policies to a given user or app?
A: Yes, by creating multiple Conditional Access policies targeting those groups or applications. If a user falls in scope of multiple terms of use policies, they accept one terms of use policy at a time.
Q: What happens if a user declines the terms of use policy?
A: The user is blocked from getting access to the application. The user would have to sign in again and accept the terms to get access.
Q: Is it possible to unaccept a terms of use policy that was previously accepted?
A: You can review previously accepted terms of use policies, but currently there isn't a way to unaccept.
Q: What happens if I'm also using Intune terms and conditions?
A: If you've configured both Azure AD terms of use and Intune terms and conditions, the user is required to accept both. For more information, see the Choosing the right Terms solution for your organization blog post.
Q: What endpoints does the terms of use service use for authentication?
A: Terms of use utilize the following endpoints for authentication: https://tokenprovider.termsofuse.identitygovernance.azure.com, https://myaccount.microsoft.com and https://account.activedirectory.windowsazure.com. If your organization has an allowlist of URLs for enrollment, you need to add these endpoints to your allowlist, along with the Azure AD endpoints for sign-in.
Next steps
Feedback
Submit and view feedback for