Disable-​Aadrm​Usage​Log​Feature

Disables the usage log for Rights Management.

Syntax

Disable-AadrmUsageLogFeature []

Description

The Disable-AadrmUsageLogFeature cmdlet disables usage logging for the Azure Rights Management service. If you disable this logging, the cmdlet does not delete existing logs. If you enable usage logging again, logging begins at the point in the log where logging previously stopped.

Note: This cmdlet is not needed and will not run successfully after the usage logging change in February 2016. After this date, usage logging is automatically enabled and cannot be disabled; the only PowerShell cmdlet that you need for Azure Rights Management usage logging is Get-AadrmUserLog.

For more information about usage logging, see Logging and analyzing usage of the Azure Rights Management service.

Examples

Example 1: Disable usage logging

PS C:\>Disable-AadrmUsageLogFeature

This command disables the usage log for your organization.