Revoke User Sign In Sessions

Invalidates the refresh tokens issued to applications for an Azure Active Directory user, and the session cookies in the user's browser.

After calling revoke sign in sessions, there may be a short delay before the tokens get revoked.


Field Definition Type Required


ID or Username

User ID is the unique identifier for the user. Should be treated as an opaque identifier.

Username of the Office 365 user. This is the user's User Principal Name (UPN). A UPN is formed by taking the username and domain and combining them with the @ separator.

For example, This could be the user's email address, but not always.

This property can't contain accent characters. Only the following characters are allowed A-Z, a-z, 0-9, '.-_!#^~.



If the string for the UPN input begins with the $character, remove the slash / after /users and enclose the UPN value in parentheses and single quotes. For example, /users('$'). See Known issues with Microsoft Graph.

To search for a B2B user using a UPN input value, encode the hash # character as %23. For example, /users/


Field Definition Type


Are All Sessions Revoked?

  • True if all the refresh tokens issued to applications for a user are revoked.

  • False otherwise.

There might be a small delay of a few minutes before the tokens get revoked.


Status Code

Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:

  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request wasn't processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.


Related topics

Azure Active Directory connector

Workflow elements

Guidance for Azure Active Directory connector

Azure Active Directory Management API overview