azure-active-directorymicrosoft-graph-apiazure-ad-b2b

Is it possible to revoke Mfa sessions from graph


I would like to revoke existing mfa sessions of my users.

In portal, I can do this by selecting this option

enter image description here

But I want to do this from graph. Is this possible?

I tried finding the related query and got this:

POST https://graph.microsoft.com/v1.0/users/id/revokeSignInSessions

Is this the same as Revoke multifactor authentication sessions option?

Can someone suggest if I'm missing any Or help me with right query?


Solution

  • Is not possible to revoke MFA sessions using Microsoft Graph. The /revokeSignInSessions operation invalidates refresh tokens and session cookies while Revoke MFA sessions does exactly that :)