how to user re-authenticate the azure ad user when repoens the page/form using any method/api

Gogineni Rajasekhar 6 Reputation points

Hi Team,

I want to re-authenticate the azure ad user when users trying to reset the password, I just need to make sure that its valid user. Could please suggest how to re-authenticate user,I have username, password and few other fields.

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
6,074 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,364 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,515 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. 2022-05-08T13:54:07.353+00:00

    Hi @Gogineni Rajasekhar , Thanks for reaching out.

    To expire the session and force to re-authenticate with the existing user session, you could directly logout AAD and then clear the cache.
    The other option is to use Single sign-out, Upon you log out, it will automatically clear the session cookie.


    Hope this helps,

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".

    0 comments No comments