Clear-​AI​PAuthentication

Clears the authentication token and RMS templates for the current user.

Syntax

Clear-AIPAuthentication

Description

The Clear-AIPAuthentication cmdlet deletes the cached authentication for the current user, so that this account is no longer authenticated for Azure Information Protection.

In addition, files from %LocalAppData%\Microsoft\MSIP are deleted and all Rights Management templates from the %LocalAppData%\Microsoft\MSIPC\msip folder are deleted for the current user. Rights Management templates are not deleted from the %LocalAppData\Microsoft\MSIPC folder that Office uses.

Note: This cmdlet requires the preview version of the Azure Information Protection client.

Examples

Example 1

PS C:\> Clear-AIPAuthentication
Cleared credentials

This command removes stored authentication for Azure Information Protection and deletes Rights Management templates for the current user.

Inputs

None

Outputs

System.Object