How to Temporarily Block SharePoint Online During a Business Continuity Test
Question details
A global administrator needs to temporarily disable user access to SharePoint Online and halt OneDrive synchronization for a scheduled business continuity test.
- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- Conducting an organization-wide business continuity test that requires simulating the temporary unavailability of cloud storage services.
- Observed behavior
- The administrator must restrict user access to SharePoint and stop ongoing OneDrive desktop synchronization without accidentally locking out global administrative accounts.
Identify and document the external public IP addresses of your administrative network so you can properly configure an allowlist and avoid locking yourself out of the tenant.
Block SharePoint Access by IP Address
Use network location-based IP restrictions to block all traffic to SharePoint and OneDrive except for designated administrator networks.
Blocking access by IP is the most effective approach for a business continuity test. It ensures that both web browser access to SharePoint and background desktop client synchronization for OneDrive are halted.
Determine the exact static public IP addresses or ranges used by your administrative team.
Sign in to the SharePoint admin center, click on 'Policies' in the left pane, and then select 'Access control'.
Click on 'Network location', toggle the 'Allow access only from specific IP address locations' setting, and input your administrator IP addresses.
Click 'Save' to apply the policy. Verify that administrators can still access the environment while standard user networks are blocked.
Apply Conditional Access Policies
Use Azure Active Directory Conditional Access to block users from opening SharePoint web applications.
Streamline Your Document Management with WPS Office
Enterprise cloud environments like SharePoint require complex administration policies during business continuity tests. If you are looking for a simplified, robust productivity suite for your local or alternative cloud needs, consider WPS Office.
- 1. Download the Suite: Visit the official WPS website to download the installer for your operating system.
- 2. Install Locally: Run the quick installation to ensure you have full offline access to document creation tools.
- 3. Open Your Files: Directly open your existing Microsoft Office files without needing active cloud synchronization.

Frequently Asked Questions
Will blocking SharePoint access by IP also stop OneDrive synchronization?
Yes, in most configurations, restricting network access by IP will sever the connection for both SharePoint web services and ongoing OneDrive desktop client synchronization, making it ideal for a continuity test.
How do I prevent locking myself out when restricting SharePoint access?
Before enabling any network location restrictions, you must create an allowlist that explicitly includes the external public IP addresses of your administrator network. Always double-check your current IP address before saving the policy.
Why didn't Conditional Access stop my OneDrive sync immediately?
Conditional Access evaluates policies at the time of authentication. Since existing desktop clients may already hold valid authentication tokens, ongoing synchronization might not stop until those tokens expire or are forcefully revoked.
How long does it take for SharePoint network location policies to take effect?
Network location policies typically take effect shortly after they are saved, but it can sometimes take up to an hour to fully propagate across all Microsoft 365 services and active sessions.




