I see my AD name when I use IIS Express is
@User.Identity.Name
I switch to Kestrel and the name is blank ?
What happened to AD with Kestrel?
I've tried some fixes below but not quite sure I knew what I was doing
services.AddAuthentication(HttpSysDefaults.AuthenticationScheme);
//.UseHttpSys(options =>
//{
// options.Authentication.Schemes =
// AuthenticationSchemes.NTLM |
// AuthenticationSchemes.Negotiate;
// options.Authentication.AllowAnonymous = false;
//})