Skip to content

Commit f133b1d

Browse files
committed
Fixed error - You can only set email address that belongs to your organization in report submission policy Identity:"DefaultReportSubmissionPolicy".
1 parent afd27fd commit f133b1d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,11 @@ function Invoke-CIPPStandardUserSubmissions {
106106
$PolicyParams = @{
107107
EnableReportToMicrosoft = $true
108108
ReportJunkToCustomizedAddress = $false
109+
ReportJunkAddresses = $null
109110
ReportNotJunkToCustomizedAddress = $false
111+
ReportNotJunkAddresses = $null
110112
ReportPhishToCustomizedAddress = $false
113+
ReportPhishAddresses = $null
111114
}
112115
} else {
113116
$PolicyParams = @{

0 commit comments

Comments
 (0)