How to Deploy Angular in SharePoint After DenyAddAndCustomizePages Changes
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.
Verify that you have Microsoft 365 Tenant Administrator privileges, as you will need elevated access to open a support ticket for policy exceptions.
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.
Log into the Microsoft 365 admin center using an account with tenant administrator credentials.
On the left-hand navigation menu, click on 'Support' and then select 'Help and support'.
Enter a description of your deployment issue regarding the DenyAddAndCustomizePages policy.
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.
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. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install the Software: Run the installer and follow the on-screen prompts to set up WPS Office on your device.
- 3. Create and Edit: Open WPS Office to instantly start creating documents, spreadsheets, and presentations that you can upload to your SharePoint environment.

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.




