Commands › Exchange Online

Get-SafeLinksDetailReport

Exchange Online ExchangeOnlineManagement Get-*

Return detailed information about Safe Links results for the last 7 days. Yesterday is the most recent date that you can specify.

Quick start script

# Get-SafeLinksDetailReport — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org

# 2. Run and inspect
Get-SafeLinksDetailReport | Format-List

# 3. Export for evidence / drift tracking
Get-SafeLinksDetailReport | Export-Clixml .\SafeLinksDetailReport-$(Get-Date -Format yyyyMMdd).xml

Syntax

Get-SafeLinksDetailReport
 [-Action <MultiValuedProperty>]
 [-AppNameList <MultiValuedProperty>]
 [-Domain <MultiValuedProperty>]
 [-EndDate <System.DateTime>]
 [-Page <Int32>]
 [-PageSize <Int32>]
 [-RecipientAddress <MultiValuedProperty>]
 [-StartDate <System.DateTime>]
 [<CommonParameters>]

Parameters (8)

ParameterTypeRequiredWhat it controls
-Action MultiValuedProperty The Action parameter filters the results by action. Valid values are:
-AppNameList MultiValuedProperty The AppNameList parameter filters the results by the app where the link was found. Valid values are:
-Domain MultiValuedProperty The Domain parameter filters the results by the domain in the URL.
-EndDate DateTime The EndDate parameter specifies the end date of the date range.
-Page Int32 The Page parameter specifies the page number of the results you want to view. Valid input for this parameter is an integer between 1 and 1000. The default value is 1.
-PageSize Int32 The PageSize parameter specifies the maximum number of entries per page. Valid input for this parameter is an integer between 1 and 5000. The default value is 1000.
-RecipientAddress MultiValuedProperty The RecipientAddress parameter filters the results by the recipient's email address.
-StartDate DateTime The StartDate parameter specifies the start date of the date range.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.