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.
1 parent b579ef9 commit d0f585eCopy full SHA for d0f585e
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($Settings.email))) {
97
$PolicyParams = @{
98
EnableReportToMicrosoft = $true
99
ReportJunkToCustomizedAddress = $false
0 commit comments