Skip to main content
Revokes a user’s sessions. If no user is specified, the current user’s sessions will be revoked. Note, Using OAuth (delegated) connection, only admins can revoke other users’ sessions, while non-admins can revoke only their own.
  • Least privileged Microsoft Graph permission to access the action via application: User.RevokeSessions.All.
External DocumentationTo learn more, visit the Microsoft Entra ID documentation.

Parameters

ParameterDescription
User IDThe user ID or principal name of the user whose sessions are to be revoked.

Note:
* This field is required when using an application connection.
* When using an OAuth (delegated) connection, leave this field empty to revoke the connected user’s own sessions.

Example Output

{
	"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#Edm.Boolean",
	"value": true
}

Workflow Library Example

Revoke User Sessions with Microsoft Entra Id and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop