logo
search
Others

How to Deploy Angular in SharePoint After DenyAddAndCustomizePages Changes

Maira MehtabMaira Mehtab Sep 21, 2026 869 views

Question details

The user needs to know how to continue deploying custom Angular applications in SharePoint after the temporary exemption for disabling the DenyAddAndCustomizePages policy ended in November 2024.

Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Deploying custom scripts and Angular web applications to a specific SharePoint site.
Observed behavior
The DenyAddAndCustomizePages setting reverts to its default restricted value within 24 hours, preventing custom script execution and application deployment.
Before you start

Verify that you have Microsoft 365 Tenant Administrator privileges, as you will need elevated access to open a support ticket for policy exceptions.

Solution 1Recommended

Contact Microsoft Support for a Site Exception

Since the policy reverts automatically after November 2024, the only current workaround is requesting a site-specific exception directly from Microsoft.

Microsoft recently applied stricter limitations on custom script execution in SharePoint. After November 2024, modifying the DenyAddAndCustomizePages policy manually is no longer a permanent fix, as the system will overwrite your changes within 24 hours. There is no user-side workaround.

1
Sign in to the Admin Center

Log into the Microsoft 365 admin center using an account with tenant administrator credentials.

2
Navigate to Support

On the left-hand navigation menu, click on 'Support' and then select 'Help and support'.

3
Submit Your Request

Enter a description of your deployment issue regarding the DenyAddAndCustomizePages policy.

4
Open a Ticket

Select 'Contact support' to formally open a ticket with a Microsoft support engineer and ask if an exception can be added for your specific SharePoint site.

For Non-Administrators: If you do not have administrative rights in your tenant, you cannot raise a support ticket. You must contact your organization's Microsoft 365 administrator to perform these steps on your behalf.
Free Microsoft Office alternative

Consider WPS Office for Your Document Management Needs

While SharePoint handles your web application hosting, WPS Office provides a lightweight, free alternative for your organization's daily document creation and editing tasks. Enjoy full compatibility with Microsoft files and a familiar interface without the high subscription costs.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install the Software: Run the installer and follow the on-screen prompts to set up WPS Office on your device.
  3. 3. Create and Edit: Open WPS Office to instantly start creating documents, spreadsheets, and presentations that you can upload to your SharePoint environment.
Fully compatible with Microsoft Office formats (.docx, .xlsx, .pptx).Easily upload and manage WPS documents within SharePoint libraries.Lightweight application that runs smoothly on most devices and OS environments.Familiar user interface requiring no learning curve for new users.Free alternative to costly enterprise Office subscriptions.
microsoft office alternative - wps office

Frequently Asked Questions

Why does the DenyAddAndCustomizePages setting keep reverting?

Microsoft introduced a security change that ended temporary exemptions for custom scripts in November 2024. As a result, even if you disable the DenyAddAndCustomizePages policy via PowerShell, the system automatically reverts it to its default restricted value within 24 hours.

Is there any user-side workaround for deploying Angular in SharePoint now?

No, there is currently no user-side workaround to permanently bypass this script limitation. The only endorsed method is contacting Microsoft Support to request an exception for your specific SharePoint site.

Who can open a Microsoft support ticket for SharePoint?

Only users with Microsoft 365 tenant administrator privileges can open a support ticket from the Microsoft 365 admin center. Standard users or site owners need to reach out to their internal IT department to raise the ticket.