logo
search
Conditional Access Problems

How to Require Users to Accept an Agreement in SharePoint

Kushani NimanthikaKushani Nimanthika Sep 28, 2026 871 views

Question details

The user is looking for a way to block access to SharePoint Online until users read and accept an acceptable-use agreement or terms of service.

How to Require Users to Accept an Agreement in SharePoint
Product
SharePoint Online
Device & OS
not provided
Scenario
Administrators need to enforce compliance by ensuring every user acknowledges a corporate agreement before they are granted access to company SharePoint sites.
Observed behavior
SharePoint Online does not have an out-of-the-box feature to natively present an agreement prompt, block access, or record user consent prior to site entry.
Before you start

Verify that your Microsoft 365 tenant is equipped with Microsoft Entra ID P1 or P2 licenses, as these are required to configure and enforce Conditional Access policies.

Solution 1Recommended

Use Microsoft Entra Conditional Access to Enforce Agreements

Utilize the Terms of Use feature in Microsoft Entra ID to require agreement acceptance before users can authenticate into SharePoint.

While SharePoint Online itself cannot block access natively based on an agreement, you can secure the authentication layer. Microsoft Entra ID allows administrators to upload a PDF agreement and enforce its acceptance through Conditional Access.

Once configured, users attempting to access SharePoint will be intercepted by a prompt displaying your PDF document. They must click to accept the terms before the login process completes.

1
Access Microsoft Entra

Log in to the Microsoft Entra admin center as a Conditional Access Administrator.

2
Upload the Agreement

Navigate to Protection, select Conditional Access, and click on Terms of use. Click 'New terms' and upload your acceptable-use agreement as a PDF file.

3
Configure Document Settings

Set your display name and choose options such as requiring users to expand the document to the bottom before they can accept.

4
Create a Conditional Access Policy

Go to Policies under Conditional Access and create a new policy. Target specific users or groups, and under 'Target resources' (Cloud apps), select 'Office 365 SharePoint Online'.

5
Enforce the Terms

Under 'Access controls' > 'Grant', select 'Grant access' and check the box next to your newly created Terms of Use. Save and enable the policy.

Use Microsoft Entra Conditional Access to Enforce Agreements
Audit Compliance: You can view exactly who has accepted the agreement and when by checking the audit logs within the Terms of use section in Entra ID.
Free Microsoft Office alternative

Enhance Your Document Workflow with WPS Office

While you use Microsoft Entra to manage SharePoint access, drafting your compliance documents and user agreements requires a reliable word processor. WPS Office provides a free, highly compatible, and lightweight alternative to Microsoft Office, perfect for creating the exact PDF files needed for your Terms of Use policies.

  1. 1. Download WPS Office: Visit the official WPS Office website to download the free suite for your operating system.
  2. 2. Draft the Agreement: Open WPS Writer and draft your corporate acceptable-use policies with advanced formatting tools.
  3. 3. Export to PDF: Use the built-in 'Export to PDF' feature in WPS Office to generate the required PDF format for uploading into Microsoft Entra ID.
Free, lightweight, and incredibly fast to installFully compatible with Microsoft Word, Excel, and PowerPoint formatsBuilt-in PDF conversion tool makes preparing Entra Terms of Use documents effortlessFamiliar ribbon interface ensures zero learning curve for new users
microsoft office alternative - wps office

Frequently Asked Questions

Can I use a custom SharePoint web part to display a user agreement?

Yes, developers often use the SharePoint Framework (SPFx) or Power Apps to create custom splash screens or pop-ups. However, unlike Conditional Access, these custom solutions primarily hide content on the frontend and cannot completely block backend access or API calls if users bypass the UI.

Do Microsoft Entra Terms of Use require premium licenses?

Yes, configuring Conditional Access policies and implementing the Terms of Use feature requires a Microsoft Entra ID P1 or P2 license in your tenant.

Can I track who has accepted the Microsoft Entra Terms of Use?

Yes, the Microsoft Entra admin center provides detailed audit logs. Administrators can view exactly which users have accepted or declined the terms, including the specific timestamp of their decision.