Edit

Share via


Get-M365DataAtRestEncryptionPolicyAssignment

This cmdlet is available only in the cloud-based service.

Use the Get-M365DataAtRestEncryptionPolicyAssignment cmdlet to view the currently assigned Microsoft 365 data-at-rest encryption policy.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

Syntax

Default (Default)

Get-M365DataAtRestEncryptionPolicyAssignment

Description

This cmdlet lists the Microsoft 365 data-at-rest encryption policy that's currently assigned to the tenant.

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.

Examples

Example 1

Get-M365DataAtRestEncryptionPolicyAssignment

This example returns a summary list of all Microsoft 365 data-at-rest encryption policy assignments.

Example 2

Get-M365DataAtRestEncryptionPolicyAssignment | Format-List

This example returns detailed information for all Microsoft 365 data-at-rest encryption policy assignments.