aad-auth icon indicating copy to clipboard operation
aad-auth copied to clipboard

Azure AD Password Change from Linux

Open idaaas22 opened this issue 2 years ago • 1 comments

Hello,

I have made test with a new user, with a clean password, but I can't login with pam-aad. I had the result "login incorrect"

From Azure AD, audit log, the problem was "The user's password is expired, and therefore their login or session was ended." because my test user have to reset his password. Can we have a more explicit message instead of "login incorrect" The best should be to detect the password change and give an option to reset it directly from a linux prompt (this feature will need more rights on microsoft.graph)

Regards

idaaas22 avatar May 29 '23 08:05 idaaas22

Hey, @idaaas22. Thanks again for the feedback! We rely on the information given back to us by the Microsoft Authentication API, so I'm not sure whether this is possible as of now, but I'll mark it as an enhancement suggestion and we'll do some research.

denisonbarbosa avatar May 29 '23 11:05 denisonbarbosa