diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ea6b11f8d..ff69902416 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,8 @@ * Fix values that have a zero length whitespace character. * IntuneAppProtectionPolicyiOS * Fixes [#5589] https://github.com/microsoft/Microsoft365DSC/issues/5589 +* IntuneDeviceConfigurationPolicyiOS + * Fixes [#5594] https://github.com/microsoft/Microsoft365DSC/issues/5594 * SCAutoSensitivityLabelPolicy * Use correct parameter `DesiredValues` given to `Test-M365DSCParameterState`, contrary to `EXOTenantAllowBlockListItems` these resources are not affected diff --git a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyiOS/MSFT_IntuneDeviceConfigurationPolicyiOS.psm1 b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyiOS/MSFT_IntuneDeviceConfigurationPolicyiOS.psm1 index a22dcb910f..bc91828072 100644 --- a/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyiOS/MSFT_IntuneDeviceConfigurationPolicyiOS.psm1 +++ b/Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationPolicyiOS/MSFT_IntuneDeviceConfigurationPolicyiOS.psm1 @@ -1058,7 +1058,7 @@ function Get-TargetResource foreach ($currentValue in $currentValueArray) { $currentHash = @{} - $currentHash.add('AppId', $currentValue.appid) + $currentHash.add('AppId', $currentValue.appId) $currentHash.add('Publisher', $currentValue.publisher) $currentHash.add('AppStoreUrl', $currentValue.appStoreUrl) $currentHash.add('Name', $currentValue.name) @@ -1075,7 +1075,7 @@ function Get-TargetResource foreach ($currentValue in $currentValueArray) { $currentHash = @{} - $currentHash.add('AppId', $currentValue.appid) + $currentHash.add('AppId', $currentValue.appId) $currentHash.add('Publisher', $currentValue.publisher) $currentHash.add('AppStoreUrl', $currentValue.appStoreUrl) $currentHash.add('Name', $currentValue.name) @@ -1092,7 +1092,7 @@ function Get-TargetResource foreach ($currentValue in $currentValueArray) { $currentHash = @{} - $currentHash.add('AppId', $currentValue.appid) + $currentHash.add('AppId', $currentValue.appId) $currentHash.add('Publisher', $currentValue.publisher) $currentHash.add('AppStoreUrl', $currentValue.appStoreUrl) $currentHash.add('Name', $currentValue.name) @@ -1149,7 +1149,7 @@ function Get-TargetResource foreach ($currentChildValue in $currentValueChildArray) { $currentHash = @{} - $currentHash.add('AppId', $currentValue.appid) + $currentHash.add('AppId', $currentValue.appId) $currentHash.add('Publisher', $currentValue.publisher) $currentHash.add('AppStoreUrl', $currentValue.appStoreUrl) $currentHash.add('Name', $currentValue.name)