Fix SharePoint Server 2019 Modern Pages Prompting for Sign-In
Question details
Anonymous users are unexpectedly prompted for authentication when trying to access modern SharePoint pages, despite anonymous access being configured properly for classic pages.
- Product
- SharePoint Server 2019
- Device & OS
- not provided
- Scenario
- Configuring public or anonymous access for modern site pages on an on-premises SharePoint environment.
- Observed behavior
- Classic pages load correctly for anonymous users, but modern pages trigger a continuous sign-in prompt that rejects credentials and cannot be cancelled.
Verify that anonymous access is correctly enabled at both the Web Application level in Central Administration and within IIS settings. Gather your ULS logs and event viewer logs as they will be crucial for diagnosing underlying authentication loops.
Verify SharePoint and IIS Anonymous Access Configurations
Ensure that the foundational settings for anonymous access are properly applied to your modern pages and web application.
Sometimes, modern pages fail to inherit the anonymous access policies correctly if there is a mismatch between IIS and Central Administration configurations.
Go to Application Management > Manage web applications, select your web app, click Authentication Providers, and ensure 'Enable anonymous access' is checked.
Navigate to Site Settings > Site permissions, click Anonymous Access, and verify it is set to 'Entire Web site'.
Open IIS Manager, select the SharePoint site, open Authentication, and confirm that Anonymous Authentication is marked as Enabled.
Post Detailed Logs to Microsoft Q&A SharePoint Server Forum
Because SharePoint Server 2019 modern page authentication issues often involve complex zone configurations or backend framework bugs, engaging dedicated server experts is highly recommended.
Edit Your Documents Offline with WPS Office
If you are managing files downloaded from SharePoint or looking for a lightweight, cost-effective way to edit your documents without relying on complex server configurations, WPS Office offers a seamless offline experience.
- 1. Download WPS Office: Visit the official WPS website to download and install the free office suite on your device.
- 2. Open Your Files: Launch WPS Office and click on 'Open' to browse for documents downloaded from your SharePoint server.
- 3. Edit and Save: Edit your documents with full formatting support and save them locally or upload them back to your server.

Frequently Asked Questions
Why do classic SharePoint pages work for anonymous users but modern pages prompt for sign-in?
Modern pages in SharePoint Server 2019 utilize different web parts and client-side APIs (like the SharePoint Framework) which might not fully inherit the legacy anonymous access policies applied to classic ASPX pages, thereby triggering a secondary authentication prompt.
Where can I find ULS logs to troubleshoot SharePoint authentication loops?
ULS logs are typically located in the SharePoint hive on your hosting server. The default path is usually C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\LOGS.
Does the Microsoft Community forum support SharePoint Server 2019 issues?
The standard Microsoft Community primarily focuses on Microsoft 365 and SharePoint Online. For on-premises environments like SharePoint Server 2019, it is highly recommended to use Microsoft Q&A and apply the specific 'SharePoint Server' tags to reach the right experts.
Can I disable modern pages in SharePoint Server 2019?
Yes, administrators can disable modern site pages at the site level or tenant level using PowerShell, which forces the site to revert to classic pages where your anonymous access is already functioning correctly.





