Get-AtpPolicyForO365

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

Use the Get-AtpPolicyForO365 cmdlet to view the Advanced Threat Protection (ATP) policy in Office 365. The ATP policy enables the following protections:

- Safe Links for Office 365 ProPlus desktop clients and Office Mobile apps.

- Safe Documents: Before a user is allowed to trust a file open in Office 365 ProPlus, the file will be verified by Microsoft Defender ATP.

- ATP to protect files in SharePoint Online, OneDrive for Business and Microsoft Teams. Note : We recommend that you use the Exchange Online PowerShell V2 module to connect to Exchange Online PowerShell. For instructions, see Use the Exchange Online PowerShell V2 module (https://docs.microsoft.com/powershell/exchange/exchange-online-powershell-v2).

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax (https://docs.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).

Syntax

Get-AtpPolicyForO365
   [[-Identity] <AtpPolicyForO365IdParameter>]
   [<CommonParameters>]

Description

Safe Links is a feature in Advanced Threat Protection that checks links in email messages to see if they lead to malicious web sites. For more information, see Office 365 ATP Safe Links.

ATP can also protect files in SharePoint Online, OneDrive for Business and Microsoft Teams by preventing users from opening and downloading files that are identified as malicious. For more information, see ATP 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.

Examples

Example 1

Get-AtpPolicyForO365

This example returns detailed information about the ATP policy named Default

Parameters

-Identity

The Identity parameter specifies the ATP policy that you want to modify. There's only one policy named Default.

Type:AtpPolicyForO365IdParameter
Position:1
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Exchange Online, Exchange Online Protection

Inputs

Outputs