Skip to content

Commit 004b400

Browse files
committed
Learn Editor: Update identify-errors-in-retention-and-retention-label-policies.md
1 parent fd61ea3 commit 004b400

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Microsoft365/purview/purview/retention/identify-errors-in-retention-and-retention-label-policies.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,15 @@ Use the following steps to check for errors in policies that target:
7979

8080
1. [Connect to Security & Compliance PowerShell](/powershell/exchange/connect-to-scc-powershell).
8181

82-
2. Get policy information by using the [Get-AppRetentionCompliancePolicy cmdlet](/powershell/module/exchange/get-appretentioncompliancepolicy). Run the following commands:
82+
1. Get policy information by using the [Get-AppRetentionCompliancePolicy cmdlet](/powershell/module/exchange/get-appretentioncompliancepolicy). Run the following commands:
8383

84-
```powershell
84+
```powershell
8585
Get-AppRetentionCompliancePolicy -Identity "<policy name>" -DistributionDetail | FL DistributionStatus
8686
Get-AppRetentionCompliancePolicy -Identity "<policy name>" -DistributionDetail | Select -ExpandProperty DistributionResults
8787
```
8888

89-
If there are policy errors, the value returned by the `DistributionResults` property contains more information about the errors.
90-
89+
If there are policy errors, the value returned by the `DistributionResults` property contains more information about the errors. Check for `DistributionResults`only when `DistributionStatus` shows an error. If there are no errors, then users can ignore warnings in `DistributionResults.`
90+
9191
## Recommended practices
9292

9393
To minimize retention policy errors, follow these practices:

0 commit comments

Comments
 (0)