I just did a fresh install of IIS 10 on a Windows Server 2019 (Datacenter Edition). Then, did a simple localhost
request to confirm that all was done successfully. I end up receiving a 401 response.
Checking further in IIS Manager, I found out that there is no Anonymous Authentication
present.
As you can see, it's not a matter of Enabling/Configuring it as answered here: HTTP Error 401.1 - Unauthorized from Local IIS
It's a matter that there is NO Anonymous Authentication
even to configure or enable.
And here is a picture of another webserver, with exactly same environment, which I did the exact same process of installation, where Anonymous Authentication
is present as expected.
So, how can I "install" Anonymous Authentication
on IIS 10, when it is not installed/present by default?
Ok, after trying everything I could, I was unable to solve it. End up removing IIS completely, and installed it again.
Immediately after (re)installation the problem was solved, and everything was exactly as it should be. Anonymous Authentication
show up on Authentication Pane, and requests were responded successfully.
So, I guess i experienced a corrupted IIS10 installation, even I do not recall seeing any warning about it.