Workflow to trigger Entra ID Revoke Sessions

Shantha,
You have been a big help so far. I am very close!

Can you provide me the revoke session request url? I just wanted to make sure it is the same as I have in my workflow.

This is my revoke session request url:
https://graph.microsoft.com/v1.0/users/{{$.getIdentity.attributes.email}}/revokeSignInSessions

translates to:
https://graph.microsoft.com/v1.0/users/upn/revokeSignInSessions

Did your revokesigninsession post call end up working and signed user out of all sessions in 0365?

Yes this is the correct URL to revoke sessions. Also it revoked the below pages

https://www.myapps.microsoft.com
https://www.myaccount.microsoft.com

It will also revoke the O365 sessions also…

3 Likes

It worked! Thank you so much!

Anyone has been able to revoke sessions from multiple Entra Accounts? I am new to Workflow and am able to revoke sessions from primary account. I am looking to revoke active sessions from admin accounts, where email address is not the same as in identity email address.

Hi @HPatel Yeah you can revoke sessions for multiple entra accounts for different email address by taking the email of entra ID account.

3 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.