File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Modules/CIPPCore/Public/Entrypoints
HTTP Functions/Tenant/Standards Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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' ) {
You can’t perform that action at this time.
0 commit comments