Sharepoint 2019 - anonymous access site still prompts for credential

Daniel M 126 Reputation points


I am trying to set a sharepoint 2019 claims-based web app as being available to anonymous users since this web front should be reachable from the internet.
The problem is that the web browser still prompts me for credentials.
I have followed this guide to set it up:

And I have followed these guides to troubleshoot:

It seems that I have done everything as one should.
The problem is that I get a credential prompt, and when I click "cancel" I still get to see everything on the site.
If I use fiddler and click "cancel" I can see that I get a HTTP 401 from a custom style sheet in the Style Library. But that library has anonymous access enabled on it. The entire style library inherits permissions from the site which also has anonymous access enabled on the entire site.

By the way, the site collection feature "Limited-access user permission lockdown mode" is not activated.

Any thoughts on what the next step for troubleshooting might be?

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,156 questions
0 comments No comments
{count} votes

Accepted answer
  1. sadomovalex 3,621 Reputation points

    are all files in Pages and Style library published with major version? Also check is master page (Catalogs > Master pages) published with major version.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Emily Du-MSFT 39,606 Reputation points Microsoft Vendor

    @Daniel M

    I can reproduce the issue in my SharePoint.

    To resolve this issue, when you set Anonymous Access, uncheck the box for “Require Use Remote Interfaces permissions”.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.