From 15627341e2efb34967d4eba635427bdf77d0f32a Mon Sep 17 00:00:00 2001 From: Ruud Gijsbers - Rademakers <40916740+RuudGijsbers@users.noreply.github.com> Date: Wed, 19 Jan 2022 23:58:16 +0100 Subject: [PATCH] issue #1688 --- .../MSFT_IntuneAppProtectionPolicyiOS.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAppProtectionPolicyiOS/MSFT_IntuneAppProtectionPolicyiOS.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAppProtectionPolicyiOS/MSFT_IntuneAppProtectionPolicyiOS.psm1 index 80bfc477a6..6ebb2a6b8d 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAppProtectionPolicyiOS/MSFT_IntuneAppProtectionPolicyiOS.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAppProtectionPolicyiOS/MSFT_IntuneAppProtectionPolicyiOS.psm1 @@ -733,7 +733,7 @@ function Get-M365DSCIntuneAppProtectionPolicyiOS try { $Url = "https://graph.microsoft.com/beta/deviceAppManagement/iosManagedAppProtections('$PolicyId')/`?expand=apps,assignments" - $response = Invoke-MgGraphRequest Method Get ` + $response = Invoke-MgGraphRequest -Method Get ` -Uri $Url return $response }