Unable to access a protected directory:
Access is denied due to invalid credentials
Anonymous authentication for the directory is disabled in IIS Manager.
Enable Anonymous authentication for the directory in IIS Manager
Add the password protection for the directory from Plesk by following the below step:
Plesk > subscription > Websites & Domains > password protected directories > Add protected directory > click the protected directory > add a new user .