Wia vs. local user application - authorize process

Michał Matczak 0 Reputation points
2026-06-26T14:43:13.2766667+00:00

I have an application that authorizes users to ADFS using the /adfs/oauth2/authorize/wia command. The application also stores local users in the database. When a local user logs in, they receive a 401 "WWW-Authenticate NTLM" error. ADFS won't let the local user into the application. Do you have a workaround to distinguish between WIA and local logins so the user doesn't receive a 401? Or some other logic. Or is this an application-specific issue and requires code modification?

Microsoft Security | Active Directory Federation Services
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.