From 732595f537f928af46ceb6af3c7fbd08f1a7200c Mon Sep 17 00:00:00 2001 From: John Duprey Date: Fri, 30 Aug 2024 13:55:58 -0400 Subject: [PATCH] Update New-ExoBulkRequest.ps1 --- Modules/CIPPCore/Public/GraphHelper/New-ExoBulkRequest.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/CIPPCore/Public/GraphHelper/New-ExoBulkRequest.ps1 b/Modules/CIPPCore/Public/GraphHelper/New-ExoBulkRequest.ps1 index 7d967d4f08ba..277802cd8e3e 100644 --- a/Modules/CIPPCore/Public/GraphHelper/New-ExoBulkRequest.ps1 +++ b/Modules/CIPPCore/Public/GraphHelper/New-ExoBulkRequest.ps1 @@ -65,8 +65,8 @@ function New-ExoBulkRequest { try { if ($Select) { $Select = "`$select=$Select" } - $URL = "$ResourceUrl/adminapi/beta/$($tenant.customerId)/InvokeCommand?$Select" - $BatchURL = "$ResourceUrl/adminapi/beta/$($tenant.customerId)/`$batch" + $URL = "$Resource/adminapi/beta/$($tenant.customerId)/InvokeCommand?$Select" + $BatchURL = "$Resource/adminapi/beta/$($tenant.customerId)/`$batch" $BatchBodyObj = @{ requests = @() }