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
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ function Test-CIPPStandardLicense {
46
46
if ($Capabilities.Count-le0) {
47
47
if (!$SkipLog.IsPresent) {
48
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
-
Set-CIPPStandardsCompareField-FieldName "standards.$StandardName"-FieldValue "License Missing: This tenant is not licensed for the following capabilities: $($RequiredCapabilities-join',')"-Tenant $TenantFilter
49
+
Set-CIPPStandardsCompareField-FieldName "standards.$StandardName"-LicenseAvailable $false-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"
0 commit comments