Skip to content

Commit 39dde3c

Browse files
improvements
1 parent 73a2f2b commit 39dde3c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Modules/CIPPCore/Public/Entrypoints/Activity Triggers/BPA/Push-BPACollectData.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Push-BPACollectData {
55
#>
66
param($Item)
77

8-
$TenantName = Get-Tenants | Where-Object -Property defaultDomainName -EQ $Item.Tenant.value
8+
$TenantName = Get-Tenants | Where-Object -Property defaultDomainName -EQ $Item.Tenant
99
$BPATemplateTable = Get-CippTable -tablename 'templates'
1010
$Filter = "PartitionKey eq 'BPATemplate'"
1111
$TemplatesLoc = (Get-CIPPAzDataTableEntity @BPATemplateTable -Filter $Filter).JSON | ConvertFrom-Json

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Standards/Invoke-ExecBPA.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function Invoke-ExecBPA {
1111
$ConfigTable = Get-CIPPTable -tablename Config
1212
$Config = Get-CIPPAzDataTableEntity @ConfigTable -Filter "PartitionKey eq 'OffloadFunctions' and RowKey eq 'OffloadFunctions'"
1313

14-
$TenantFilter = $Request.Query.tenantFilter ? $Request.Query.tenantFilter : $Request.Body.tenantfilter
14+
$TenantFilter = $Request.Query.tenantFilter ? $Request.Query.tenantFilter.value : $Request.Body.tenantfilter
1515

1616
if ($Config -and $Config.state -eq $true) {
1717
if ($env:CIPP_PROCESSOR -ne 'true') {

0 commit comments

Comments
 (0)