We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6f66468 + 8326331 commit c7d72e0Copy full SHA for c7d72e0
Modules/CIPPCore/Public/Standards/Invoke-CIPPStandardUserSubmissions.ps1
@@ -93,7 +93,7 @@ function Invoke-CIPPStandardUserSubmissions {
93
Write-LogMessage -API 'Standards' -tenant $Tenant -message 'User Submission policy is already configured' -sev Info
94
} else {
95
if ($state -eq 'enable') {
96
- if (([string]::IsNullOrWhiteSpace())) {
+ if (([string]::IsNullOrWhiteSpace($Email))) {
97
$PolicyParams = @{
98
EnableReportToMicrosoft = $true
99
ReportJunkToCustomizedAddress = $false
0 commit comments