Skip to content

Commit 69aba6a

Browse files
Merge pull request KelvinTegelaar#1327 from cipptesting/dev
Fixed error - You can only set email address that belongs to your org…
2 parents 34a9b13 + f133b1d commit 69aba6a

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)