Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion exchange/exchange-ps/exchange/New-RetentionComplianceRule.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ You view and create labels by using the Get-ComplianceTag and New-ComplianceTag

You can't use this parameter with the Name or PublishComplianceTag parameters.

You can't use this parameter for Teams retention rules.

```yaml
Type: String
Parameter Sets: ComplianceTag
Expand Down Expand Up @@ -134,6 +136,8 @@ You view and create labels by using the Get-ComplianceTag and New-ComplianceTag

You can't use this parameter with the Name or ApplyComplianceTag parameters.

You can't use this parameter for Teams retention rules.

```yaml
Type: String
Parameter Sets: PublishComplianceTag
Expand Down Expand Up @@ -191,6 +195,8 @@ Use the Get-DLPSensitiveInformationType cmdlet to list the sensitive information

You can use this parameter with the ApplyComplianceTag parameter.

You can't use this parameter for Teams retention rules.

```yaml
Type: PswsHashtable[]
Parameter Sets: ComplianceTag
Expand All @@ -209,6 +215,8 @@ The ContentMatchQuery parameter specifies a content search filter.

This parameter uses a text search string or a query that's formatted by using the Keyword Query Language (KQL). For more information about KQL, see [Keyword Query Language (KQL) syntax reference](https://docs.microsoft.com/sharepoint/dev/general-development/keyword-query-language-kql-syntax-reference).

You can't use this parameter for Teams retention rules.

```yaml
Type: String
Parameter Sets: ComplianceTag, Default
Expand Down Expand Up @@ -236,7 +244,9 @@ The ExcludedItemClasses parameter specifies the types of messages to exclude fro

Additionally, you can specify [message classes for Exchange items](https://docs.microsoft.com/office/vba/outlook/concepts/forms/item-types-and-message-classes) and custom or third-party message classes. Note that the values you specify aren't validated, so the parameter accepts any text value.

You can specify multiple item class values by using the syntax "Value1","Value2",..."ValueN".
You can specify multiple item class values by using the following syntax: `"Value1","Value2",..."ValueN"`.

You can't use this parameter for Teams retention rules.

```yaml
Type: MultiValuedProperty
Expand All @@ -257,6 +267,8 @@ The ExpirationDateOption parameter specifies whether the expiration date is calc
- CreationAgeInDays
- ModificationAgeInDays

You can't use this parameter for Teams retention rules.

```yaml
Type: String
Parameter Sets: (All)
Expand Down Expand Up @@ -318,6 +330,8 @@ The RetentionDurationDisplayHint parameter specifies the units that are used to

For example, if this parameter is set to the value Years, and the RetentionDuration parameter is set to the value 365, the Security & Compliance Center will display 1 year as the content hold duration.

You can't use this parameter for Teams retention rules.

```yaml
Type: HoldDurationHint
Parameter Sets: Default
Expand Down
14 changes: 13 additions & 1 deletion exchange/exchange-ps/exchange/Set-RetentionComplianceRule.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ You view and create labels by using the Get-ComplianceTag and New-ComplianceTag

You can't use this parameter with the Name or PublishComplianceTag parameters.

You can't use this parameter for Teams retention rules.

```yaml
Type: String
Parameter Sets: (All)
Expand Down Expand Up @@ -134,6 +136,8 @@ This parameter uses the basic syntax `@(@{Name="SensitiveInformationType1";[minC

Use the Get-DLPSensitiveInformationType cmdlet to list the sensitive information types for your organization. For more information on sensitive information types, see [What the sensitive information types in Exchange look for](https://docs.microsoft.com/exchange/what-the-sensitive-information-types-in-exchange-look-for-exchange-online-help).

You can't use this parameter for Teams retention rules.

```yaml
Type: PswsHashtable[]
Parameter Sets: (All)
Expand Down Expand Up @@ -188,6 +192,8 @@ The ContentMatchQuery parameter specifies a content search filter.

This parameter uses a text search string or a query that's formatted by using the Keyword Query Language (KQL). For more information about KQL, see [Keyword Query Language (KQL) syntax reference](https://docs.microsoft.com/sharepoint/dev/general-development/keyword-query-language-kql-syntax-reference).

You can't use this parameter for Teams retention rules.

```yaml
Type: String
Parameter Sets: (All)
Expand Down Expand Up @@ -215,7 +221,9 @@ The ExcludedItemClasses parameter specifies the types of messages to exclude fro

Additionally, you can specify [message classes for Exchange items](https://docs.microsoft.com/office/vba/outlook/concepts/forms/item-types-and-message-classes) and custom or third-party message classes. Note that the values you specify aren't validated, so the parameter accepts any text value.

You can specify multiple item class values by using the syntax "Value1","Value2",..."ValueN".
You can specify multiple item class values by using the following syntax: `"Value1","Value2",..."ValueN"`.

You can't use this parameter for Teams retention rules.

```yaml
Type: MultiValuedProperty
Expand All @@ -236,6 +244,8 @@ The ExpirationDateOption parameter specifies whether the expiration date is calc
- CreationAgeInDays
- ModificationAgeInDays

You can't use this parameter for Teams retention rules.

```yaml
Type: String
Parameter Sets: (All)
Expand Down Expand Up @@ -297,6 +307,8 @@ The RetentionDurationDisplayHint parameter specifies the units that are used to

For example, if this parameter is set to the value Years, and the RetentionDuration parameter is set to the value 365, the Security & Compliance Center will display 1 year as the content hold duration.

You can't use this parameter for Teams retention rules.

```yaml
Type: HoldDurationHint
Parameter Sets: (All)
Expand Down