Revoke-AzureADSignedInUserAllRefreshToken

Invalidates the refresh tokens issued to applications for the current user.

Syntax

Revoke-AzureADSignedInUserAllRefreshToken []

Description

The Revoke-AzureADSignedInUserAllRefreshToken cmdlet invalidates the refresh tokens issued to applications for the current user. The cmdlet also invalidates tokens issued to session cookies in a browser for the user. The cmdlet operates by resetting the refreshTokensValidFromDateTime user property to the current date and time.

Examples

Example 1: Revoke refresh tokens for the current user

PS C:\> Revoke-AzureADSignedInUserAllRefreshToken

This command revokes the tokens for the current user.

Notes

See the migration guide for Revoke-AzureADSignedInUserAllRefreshToken to the Microsoft Graph PowerShell.