401 - Unauthorized: Access is denied due to invalid credentials. You do not have permission to view this directory or page using the credentials that you supplied.
Receiving this error message after changing IIS and .NET Authorization Rules to only Allow local "Administrators" roles
OS: Windows Server 2016 running IIS 10
Our Application Pool is running under an ApplicationPoolIdentity. Anonymous Authentication is enabled and running App Pool identity. ASP.NET impersonation is enabled as well. Windows Authentication is disabled (this is an externally facing website)
I have added the IIS AppPool\AppPool to the IIS_IUSRS group, Administrator group, and Users group.
I also granted Full Control ACLs for IIS AppPool\AppPool and the IIS_IUSRS group to the Website path (using icacls "WebsitePath" /grant "IIS AppPool\AppPool:(OI)(CI)(IO)F" /T)
Still, no luck. just keep getting a 401. running Process Monitor doesn't show any error status or permission issues. There is nothing in the server event logs either.
What am I missing still??
Thanks