Skip to content

Commit c149d69

Browse files
assign bug
1 parent 08950c4 commit c149d69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/CIPPCore/Public/Set-CIPPAssignedPolicy.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,6 @@ function Set-CIPPAssignedPolicy {
8080
} catch {
8181
#$ErrorMessage = Get-CippException -Exception $_
8282
$ErrorMessage = Get-NormalizedError -Message $_.Exception.Message
83-
Write-LogMessage -user $ExecutingUser -API $APIName -message "Failed to assign $GroupName to Policy $PolicyId. Error:$ErrorMessage" -Sev 'Error' -tenant $TenantFilter -LogData $ErrorMessage
83+
Write-LogMessage -user $ExecutingUser -API $APIName -message "Failed to assign $GroupName to Policy $PolicyId, using Platform $PlatformType and $Type. The error is:$ErrorMessage" -Sev 'Error' -tenant $TenantFilter -LogData $ErrorMessage
8484
}
8585
}

0 commit comments

Comments
 (0)