Logon failure: the user has not been granted the requested logon type at this computer
Krishna Priya Cherungottil
20
Reputation points
I have added a user with Admin privilege in my machine. I have a console application which tries for windows authentication. I am trying this in 2 ways one with ADVAPI's LogonUser and other with PrincipalContext's ValidateCredentials method. But both are returning Logon failure: the user has not been granted the requested logon type at this computer error. what can be the reason? please suggest. TIA
Sign in to answer