You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Modules/CIPPCore/Public/Functions/Test-CIPPStandardLicense.ps1
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ function Test-CIPPStandardLicense {
45
45
46
46
if ($Capabilities.Count-le0) {
47
47
if (!$SkipLog.IsPresent) {
48
-
Write-LogMessage-API 'Standards'-tenant $TenantFilter-message "Tenant does not have the required capability to run standard $StandardName`: The tenant needs one of the following service plans: $($RequiredCapabilities-join',')"-sev Error
48
+
Write-LogMessage-API 'Standards'-tenant $TenantFilter-message "Tenant does not have the required capability to run standard $StandardName`: The tenant needs one of the following service plans: $($RequiredCapabilities-join',')"-sev Info
49
49
Set-CIPPStandardsCompareField-FieldName "standards.$StandardName"-FieldValue "License Missing: This tenant is not licensed for the following capabilities: $($RequiredCapabilities-join',')"-Tenant $TenantFilter
50
50
Write-Verbose"Tenant does not have the required capability to run standard $StandardName - $($RequiredCapabilities-join','). Exiting"
51
51
}
@@ -57,7 +57,7 @@ function Test-CIPPStandardLicense {
57
57
if (!$SkipLog.IsPresent) {
58
58
# Sanitize exception message to prevent JSON parsing issues - remove characters that could interfere with JSON detection
Write-LogMessage-API 'Standards'-tenant $TenantFilter-message "Error checking license capabilities for standard $StandardName`: $SanitizedMessage"-sev Error
60
+
Write-LogMessage-API 'Standards'-tenant $TenantFilter-message "Error checking license capabilities for standard $StandardName`: $SanitizedMessage"-sev Info
0 commit comments