Skip to content

Commit 9b236fb

Browse files
fixes table button tenant allow list
1 parent 5928395 commit 9b236fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Modules/CIPPCore/Public/Standards/Invoke-CIPPStandardTenantAllowBlockListTemplate.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function Invoke-CIPPStandardTenantAllowBlockListTemplate {
2323
EXECUTIVETEXT
2424
Deploys standardized tenant allow/block list entries across tenants. These templates ensure consistent email filtering rules are applied, managing which senders, URLs, file hashes, and IP addresses are allowed or blocked across the organization.
2525
ADDEDCOMPONENT
26-
{"type":"autoComplete","name":"TemplateList","multiple":false,"label":"Select Tenant Allow/Block List Template","api":{"url":"/api/ListTenantAllowBlockListTemplates","labelField":"templateName","valueField":"GUID","queryKey":"ListTenantAllowBlockListTemplates","showRefresh":true}}
26+
{"type":"autoComplete","name":"standards.TenantAllowBlockListTemplate.TemplateList","multiple":true,"label":"Select Tenant Allow/Block List Template","api":{"url":"/api/ListTenantAllowBlockListTemplates","labelField":"templateName","valueField":"GUID","queryKey":"ListTenantAllowBlockListTemplates","showRefresh":true}}
2727
UPDATECOMMENTBLOCK
2828
Run the Tools\Update-StandardsComments.ps1 script to update this comment block
2929
.LINK
@@ -38,7 +38,7 @@ function Invoke-CIPPStandardTenantAllowBlockListTemplate {
3838
}
3939

4040
$Table = Get-CippTable -tablename 'templates'
41-
$TemplateId = $Settings.TemplateList.value
41+
$TemplateId = $Settings.TenantAllowBlockListTemplate.value
4242

4343
$ResolvedTemplates = @(foreach ($_ in @($TemplateId)) {
4444
$TemplateId = $_

0 commit comments

Comments
 (0)