你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Enable-AipServiceDocumentTrackingFeature
Turns on document track and revoke features for Azure Information Protection.
Syntax
Enable-AipServiceDocumentTrackingFeature
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Enable-AipServiceDocumentTrackingFeature cmdlet turns on the document track and revoke features for Azure Information Protection.
Activity related to shared documents (who opened them, when, from which location) is shown for only when the document track and revoke features are turned on.
This setting is organization-wide; you cannot turn on document tracking for some users in your organization and not for others.
You must use PowerShell to turn on document tracking; you cannot do this configuration by using a management portal.
By default, document tracking is turned on, so you would run this cmdlet only if somebody had previously turned off document tracking for your tenant.
For more information, see:
Administrator Guide: Track and revoke document access with Azure Information Protection
User Guide: Revoke document access with Azure Information Protection
Examples
Example 1: Turn on document tracking
PS C:\>EnableAipServiceDocumentTrackingFeature
This command turns on document tracking for Azure Information Protection.
Parameters
Prompts you for confirmation before running the cmdlet.
| Type: | SwitchParameter |
| Aliases: | cf |
| Position: | Named |
| Default value: | False |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Forces the command to run without asking for user confirmation.
| Type: | SwitchParameter |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
| Type: | SwitchParameter |
| Aliases: | wi |
| Position: | Named |
| Default value: | False |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |