Clear-Authentication
Clears the user settings and RMS templates for the current user.
Syntax
Clear-Authentication []
Description
The Clear-AIPAuthentication cmdlet resets the user settings for the Azure Rights Management service.
Files in %LocalAppData%\Microsoft\MSIP\AppDetails are not deleted if you authenticate by using a token from Azure AD when you run Set-Authentication.
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.
For a list of files and registry entries that are deleted, see the the details about the Reset Settings option in the following admin guides:
Examples
Example 1
PS C:\> Clear-Authentication
This command is functionally the equivalent of selecting the Reset Settings from the Help and Feedback menu option, and deleting the templates.
Inputs
None
Outputs
System.Object