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 fa4f0e5 + 6f5b875 commit 131fe26Copy full SHA for 131fe26
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Standards/Invoke-listStandardTemplates.ps1
@@ -29,6 +29,11 @@ function Invoke-listStandardTemplates {
29
return
30
}
31
$Data | Add-Member -NotePropertyName 'GUID' -NotePropertyValue $_.GUID -Force
32
+
33
+ if (!$Data.excludedTenants) {
34
+ $Data | Add-Member -NotePropertyName 'excludedTenants' -NotePropertyValue @() -Force
35
+ }
36
37
if ($Data.excludedTenants -and $Data.excludedTenants -ne 'excludedTenants') {
38
$Data.excludedTenants = @($Data.excludedTenants)
39
} else {
0 commit comments