File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Modules/CIPPCore/Public/Entrypoints
HTTP Functions/Tenant/Standards Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,8 @@ function Push-BPACollectData {
1919 }
2020 }
2121 $Table = Get-CippTable - tablename ' cachebpav2'
22- $Rerun = Test-CIPPRerun - Type ' BPA' - Tenant $TenantName.defaultDomainName - API $Item.Template
22+
23+ $Rerun = Test-CIPPRerun - Type ' BPA' - Tenant $Item.Tenant - API $Item.Template
2324 if ($Rerun ) {
2425 Write-Host ' Detected rerun for BPA. Exiting cleanly'
2526 exit 0
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.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