< Back
Enable-AadrmUsageLogFeature
Post
NAME Enable-AadrmUsageLogFeature
SYNOPSIS
Enables usage logging for Rights Management.
SYNTAX
Enable-AadrmUsageLogFeature [<CommonParameters>]
DESCRIPTION
The Enable-AadrmUsageLogFeature cmdlet enables usage logging for Azure Rights Management. After you enable this
feature, Rights Management logs all requests served on behalf of your tenant to your storage account.
You must use PowerShell to set this configuration; you cannot do this configuration by using a management portal.
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 the only Windows PowerShell cmdlet that you need for
Azure RMS usage logging is Get-AadrmUserLog.
For more information about usage logging, see Logging and analyzing Azure Rights Management usage
(https://docs.microsoft.com/rights-manag ... lyze-usage)on the Microsoft documentation site.
PARAMETERS
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
--------------- Example 1: Enable usage logging ---------------
PS C:\\>Enable-AadrmUsageLogFeature
Usage logging is enabled for the Rights management service.
This command enables usage logging.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkId=400605
Disable-AadrmUsageLogFeature
Get-AadrmUsageLogFeature
Get-AadrmUsageLog
SYNOPSIS
Enables usage logging for Rights Management.
SYNTAX
Enable-AadrmUsageLogFeature [<CommonParameters>]
DESCRIPTION
The Enable-AadrmUsageLogFeature cmdlet enables usage logging for Azure Rights Management. After you enable this
feature, Rights Management logs all requests served on behalf of your tenant to your storage account.
You must use PowerShell to set this configuration; you cannot do this configuration by using a management portal.
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 the only Windows PowerShell cmdlet that you need for
Azure RMS usage logging is Get-AadrmUserLog.
For more information about usage logging, see Logging and analyzing Azure Rights Management usage
(https://docs.microsoft.com/rights-manag ... lyze-usage)on the Microsoft documentation site.
PARAMETERS
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
--------------- Example 1: Enable usage logging ---------------
PS C:\\>Enable-AadrmUsageLogFeature
Usage logging is enabled for the Rights management service.
This command enables usage logging.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkId=400605
Disable-AadrmUsageLogFeature
Get-AadrmUsageLogFeature
Get-AadrmUsageLog