-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
SharePoint Add-ins
Developer environment
Windows
What browser(s) / client(s) have you tested
- 💥 Internet Explorer
- 💥 Microsoft Edge
- 💥 Google Chrome
- 💥 FireFox
- 💥 Safari
- mobile (iOS/iPadOS)
- mobile (Android)
- not applicable
- other (enter in the "Additional environment details" area below)
Additional environment details
- SharePoint in Microsoft 365
- Node.js version - v8.9.4
- Tried on all of the listed browsers expect Safari
Describe the bug / error
Multiple SharePoint 2013 add-in applications that were working 2-3 days ago are now failing with a compilation error when users navigate to application pages. The error indicates a missing API method that may have been introduced in a newer SharePoint version, suggesting recent environment updates.
Observed Behavior
When users attempt to access SharePoint add-in pages, the applications fail to load with a server-side compilation error.
Additional Context
Timeline: Applications were working normally until 2-3 days ago
Scope: Multiple SharePoint add-in applications affected (not isolated to one app)
The IsRemoveRedirectWithProofTokenOnSignInPageEnabled method appears to be part of newer SharePoint API versions that don't exist in SharePoint 2013 environments, but the compilation process is now trying to reference it.
There is nothing visible in the network tab indicating a bad request.
Potential Solutions Attempted
Added JavaScript stubs for missing APIs (ineffective for server-side compilation)
Removed SharePointForm controls (issue persists)
Cleared application cache and rebuilt solutions
The issue appears to be environmental rather than code-related, given the sudden onset affecting multiple working applications.
Steps to reproduce
- Deploy SharePoint 2013 add-in to SharePoint environment
- Navigate to any application page - in our scanario Contract.aspx
- Page fails to load with compilation error
Expected behavior
SharePoint add-in applications should load successfully when users navigate to the application pages, as they did 2-3 days ago.