Skip to content

Commit eb825f7

Browse files
bulk request changes
1 parent 0b39325 commit eb825f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/CIPPCore/Public/GraphHelper/New-ExoBulkRequest.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ function New-ExoBulkRequest {
8484
$IdToCmdletName[$RequestId] = $cmd.CmdletInput.CmdletName
8585
}
8686
$BatchBodyJson = ConvertTo-Json -InputObject $BatchBodyObj -Depth 10
87+
$BatchBodyJson = Get-CIPPTextReplacement -TenantFilter $tenantid -Text $BatchBodyJson
8788
$Results = Invoke-RestMethod $BatchURL -ResponseHeadersVariable responseHeaders -Method POST -Body $BatchBodyJson -Headers $Headers -ContentType 'application/json; charset=utf-8'
8889
foreach ($Response in $Results.responses) {
8990
$ReturnedData.Add($Response)

0 commit comments

Comments
 (0)