How to Fix SharePoint Error HTTP 403
Diagnostic Procedures
- 1 Understand SharePoint HTTP 403 (Forbidden)
- 2 Step 1: Check Effective Permissions on SharePoint
- 3 Step 2: Inspect IP Address Restrictions (Administrators)
- 4 Step 3: Resolve Entra ID Conditional Access Blocks
- 5 Step 4: Clean Stale Cached Web Tokens
How to Fix SharePoint Error HTTP 403
An HTTP 403 (Forbidden) error in SharePoint indicates that the server successfully authenticated your identity, but you do not have permission to access the requested resource. This error can affect access to sites, list items, files, or admin panels.
This guide outlines how to audit user permissions, verify IP-based restriction lists, and bypass Conditional Access policies.
Understand SharePoint HTTP 403 (Forbidden)
The HTTP 403 error is typically triggered by:
- Broken Permission Inheritance: The target folder or file has custom security permissions that exclude your account, even though you have access to the parent site.
- IP Access Restriction: Administrators have restricted SharePoint access to specific network IP ranges, blocking connections from unauthorized networks or home VPNs.
- Conditional Access Policies: Microsoft Entra ID has blocked access due to device compliance policies, MFA failures, or geo-location boundaries.
- Incorrect Administrative Roles: Attempting to load the SharePoint Admin Center (
-admin.sharepoint.com) using a standard user account.
Resolving SharePoint HTTP 403 Errors
Follow these diagnostic steps to restore access:
Step 1: Check Effective Permissions on SharePoint
Confirm that your account has been granted the appropriate permission level (e.g., Read, Contribute, or Full Control).
- As a Site Owner or Admin, navigate to the target SharePoint site.
- Click the Gear (Settings) icon and choose Site permissions > Advanced permissions settings.
- In the ribbon, click Check Permissions.
- Type the user’s name or email and click Check Now.
- If the result shows None, click Grant Permissions, input the user’s email, select the permission level, and click Share.
Step 2: Inspect IP Address Restrictions (Administrators Only)
If users receive 403 errors when working remotely or using corporate VPNs, check if IP restrictions are configured in the SharePoint Admin Center.
Using SharePoint Online Management Shell:
- Open PowerShell.
- Run the following command to check if IP address boundaries are active:
# Connect to your admin service
Connect-SPOService -Url "https://yourcompany-admin.sharepoint.com"
# View current IP blocklist configurations
Get-SPOTenant | Select-Object IPAddressEnforcement, AllowedIPAddressList
- If
IPAddressEnforcementis set to$true, ensure the user’s public IP address is included in theAllowedIPAddressList. - To disable IP restrictions if they are no longer required:
# Disable IP address enforcement
Set-SPOTenant -IPAddressEnforcement $false
Step 3: Resolve Entra ID Conditional Access Blocks
If the HTTP 403 error page mentions a device compliance issue:
- Open the Microsoft Entra Admin Center (
admin.entra.microsoft.com). - Go to Protection > Conditional Access > Sign-in logs.
- Locate the failed sign-in attempt matching the user and timestamp.
- Select the log entry and click the Conditional Access tab to identify which policy applied a “Block” state.
- Update the policy to exclude the user, or enroll the user’s device in Microsoft Intune to meet compliance.
Step 4: Clean Stale Cached Web Tokens
To force your web browser to re-request authorization tokens, run the following commands to flush the local DNS and clear browser cache hooks.
On Windows:
Open Command Prompt as Administrator and run:
:: Flush DNS resolver cache
ipconfig /flushdns
:: Clear local temporary internet file configurations
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
On macOS:
Open Terminal and run:
# Flush DNS cache on macOS
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
Summary Checklist
- Use the Check Permissions tool to confirm the user has permission to access the resource.
- Determine if the 403 error only occurs outside the corporate network or VPN (indicating IP restrictions).
- Review the Microsoft Entra Sign-in Logs to see if a Conditional Access policy is blocking the device.
- Empty browser caches and flush DNS using the commands above to reset connection routing.
- Check if the file is located in a folder with broken permission inheritance.