DataEncryptionPolicy
Applies to : Exchange Online, Built-in security add-on for on-premises mailboxes
This cmdlet is available only in the cloud-based service.
Use the Set-DataEncryptionPolicy cmdlet to modify data encryption policies in Exchange Online.
For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.
You need to be assigned permissions before you can run this cmdlet. Although this article lists all parameters for the cmdlet, you might not have access to some parameters if they aren't included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet.
Available cmdlets
Parameters
| Name | Type | Default value | Accepted values |
|---|---|---|---|
| AzureKeyIDs | MultiValuedProperty | ||
| PermanentDataPurgeContact | String | ||
| PermanentDataPurgeReason | String | ||
| PermanentDataPurgeRequested | SwitchParameter | ||
| Refresh | SwitchParameter | ||
| Replace | SwitchParameter | ||
| DomainController | Fqdn | ||
| Enabled | Boolean | ||
| Name | String |
Examples
Example 1
Set-DataEncryptionPolicy -Identity "US Mailboxes" -Enabled $false This example disabled the data encryption policy named US Mailboxes.
Example 2
Set-DataEncryptionPolicy -Identity "Europe Mailboxes" -Refresh This example updates the data encryption policy named Europe Mailboxes after one of the associated keys is rotated in the Azure Key Vault.