This cmdlet is available only in the cloud-based service.
Use the Get-AtpPolicyForO365 cmdlet to view the settings for the following features in Microsoft Defender for Office 365:
- Safe Links protection for supported Office 365 apps.
- Safe Documents: Uses Microsoft Defender for Endpoint to scan documents and files that are opened in Protected View in Microsoft 365 apps for enterprise.
- Safe Attachments for SharePoint, OneDrive, and Microsoft Teams.
For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.
Policy ForO365 [[-Identity] <AtpPolicyForO365IdParameter>] [<CommonParameters>]
Safe Links protection for Office 365 apps checks links in Office documents, not links in email messages. For more information, see Safe Links settings for Office 365 apps.
Safe Documents scans documents and files that are opened in Protected View. For more information, see Safe Documents in Microsoft 365 E5.
Safe Attachments for SharePoint, OneDrive, and Microsoft Teams prevents users from opening and downloading files that are identified as malicious. For more information, see Safe Attachments for SharePoint, OneDrive, and Microsoft Teams.
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not 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.
This example returns detailed information about the default policy.
The Identity parameter specifies the policy that you want to modify. There's only one policy named Default.
|Accept pipeline input:||True|
|Accept wildcard characters:||False|
|Applies to:||Exchange Online, Exchange Online Protection|
Enviar e exibir comentários de