I am trying to add windows Authentication to new asp.net core 2.2 version website. While creating website `1) I have changed the authentication mode to "Windows authentication". Verified in launchsettings.json
"windowsAuthentication" = true, "AnonymousAuthentication": false,
2) Added the below line to Startup.cs file under ConfigServices.
services.AddAuthentication(IISDefaults.AuthenticationScheme);
3) I am currently running in my local so In my local computer, Enabled -> Turn Windows features on or off->Internet Information Services->Security-> "Windows Authentication"
Problem On local system: 1) windows pop up is not displayed to enter username and password 2) I need to display Windows User Name and Directory details(Department eg: IT, Sales department based on username) how to achieve it. Any suggestion would be helpful.