Permission & Access Issues

Fix SharePoint Online Regional Settings Access Denied

Olivia MillerOlivia Miller Nov 27, 2026 868 views

Question details

The user needs to change a SharePoint Online site's time zone or regional settings without receiving an Access Denied error.

Fix SharePoint Online Regional Settings Access Denied
Product
SharePoint Online
Device & OS
not provided
Scenario
A site owner or Microsoft 365 administrator is changing a site's time zone or other regional settings.
Observed behavior
SharePoint Online displays Access Denied when the user attempts to change the settings.
Before you start

Confirm the affected site's URL and check that you have site collection administrator access. Changing custom script settings requires an appropriate SharePoint administrator role and should follow your organization's security policies.

Solution 1Recommended

Enable custom scripting and retry the regional settings

Use this approach when disabled custom scripting is preventing an authorized administrator from changing the site's regional settings.

Enabling custom scripting can increase security risks. Apply the change only to trusted sites and restore restrictions when they are no longer needed.

1
Check the administration settings

Open the SharePoint admin center and look for the classic Settings page and its Custom Script options. If the options for personal sites and self-service-created sites are available, allow users to run custom script on both.

2
Use PowerShell for a specific site if needed

If the classic options are unavailable or you need to enable scripting for one site, open SharePoint Online Management Shell, run Connect-SPOService with your tenant's SharePoint admin URL, then run Set-SPOSite -Identity "https://tenant.sharepoint.com/sites/site-name" -DenyAddAndCustomizePages 0 using the affected site's URL.

3
Allow the change to apply

Wait up to 24 hours for an administration setting change to take effect, then return to the affected SharePoint site. Site-level custom script changes may be reset automatically by tenant policy.

4
Update the regional settings

On the site, select Settings > Site information > View all site settings, then under Site Administration select Regional settings. Change the time zone or other settings and select OK.

5
Restore the restriction

When custom scripting is no longer needed, use the applicable SharePoint admin center settings or run Set-SPOSite -Identity "https://tenant.sharepoint.com/sites/site-name" -DenyAddAndCustomizePages 1 to restrict it again.

Enable custom scripting and retry the regional settings
If access is still denied: Verify that the account is a site collection administrator and check whether your organization's policies restrict the change. Contact a SharePoint administrator if you cannot access the admin center or run the PowerShell commands.
Free Microsoft Office alternative

Work with Office documents in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Office documents. Its format compatibility helps you move existing files into your workflow, although it cannot change SharePoint tenant or regional settings.

Open and edit documents downloaded from a SharePoint site.Work with Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTX.Use a familiar interface to ease the move from Microsoft Office.Get a free, lightweight office suite for everyday document work.
microsoft office alternative - wps office

Frequently Asked Questions

Where can I change a SharePoint site's time zone?

On the site, select Settings > Site information > View all site settings. Under Site Administration, select Regional settings, choose the time zone, and select OK.

Why can custom scripting affect access to regional settings?

Some SharePoint site administration changes can be blocked when custom scripting is disabled. If you have the required permissions, an administrator can check the site's custom script setting and retry the change.

How long does it take for a custom script setting to apply?

Allow up to 24 hours for a change made through the SharePoint administration settings to apply, then try the Regional settings page again. Site-level changes may also be reset automatically by tenant policy.

What if I cannot find the Custom Script options in the admin center?

A SharePoint administrator can use SharePoint Online Management Shell and Set-SPOSite with the affected site URL and -DenyAddAndCustomizePages 0. The administrator should review security policies before enabling scripting.

Can WPS Office fix the SharePoint Access Denied error?

No. SharePoint permissions and custom script settings must be managed in Microsoft 365 or SharePoint administration tools. WPS Office can open and edit compatible Office files downloaded from SharePoint.