Skip to content

Commit 1a7a5dc

Browse files
committed
exclude mail.onmicrosoft.com domains
These are used for Hybrid / Cloud Sync domains
1 parent 93b25db commit 1a7a5dc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Modules/CIPPCore/Public/Entrypoints/Activity Triggers/Domain Analyser/Push-DomainAnalyserTenant.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ function Push-DomainAnalyserTenant {
2323
# Remove domains that are not wanted, and used for cloud signature services. Same exclusions also found in Invoke-CIPPStandardAddDKIM
2424
$ExclusionDomains = @(
2525
'*.microsoftonline.com'
26+
'*.mail.onmicrosoft.com'
2627
'*.exclaimer.cloud'
2728
'*.excl.cloud'
2829
'*.codetwo.online'

Modules/CIPPCore/Public/Standards/Invoke-CIPPStandardAddDKIM.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ function Invoke-CIPPStandardAddDKIM {
7676
# Same exclusions also found in Push-DomainAnalyserTenant
7777
$ExclusionDomains = @(
7878
'*.microsoftonline.com'
79+
'*.mail.onmicrosoft.com'
7980
'*.exclaimer.cloud'
8081
'*.excl.cloud'
8182
'*.codetwo.online'

0 commit comments

Comments
 (0)