Skip to content

Commit aa3d7a2

Browse files
authored
Merge pull request #466 from KelvinTegelaar/dev
[pull] dev from KelvinTegelaar:dev
2 parents e94aa1a + 960e6da commit aa3d7a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function New-ExoRequest {
5454
Parameters = $Params
5555
}
5656
}
57-
$ExoBody = Get-CIPPTextReplacement -TenantFilter $tenantid -Text $ExoBody
57+
$ExoBody = Get-CIPPTextReplacement -TenantFilter $tenantid -Text $ExoBody -EscapeForJson
5858

5959
$Tenant = Get-Tenants -IncludeErrors | Where-Object { $_.defaultDomainName -eq $tenantid -or $_.customerId -eq $tenantid }
6060
if (-not $Tenant -and $NoAuthCheck -eq $true) {

0 commit comments

Comments
 (0)