Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix export of changed property name in EDR Windows10 #5393

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
* IntuneAntivirusPolicyWindows10SettingCatalog
* Update properties to be upper-case.
Fixes [#5373](https://github.com/microsoft/Microsoft365DSC/issues/5373)
* IntuneEndpointDetectionAndResponsePolicyWindows10
* Remove changed property name from export.
FIXES [#5300](https://github.com/microsoft/Microsoft365DSC/issues/5300)
* IntuneSecurityBaselineMicrosoftEdge
* Deprecate property `authschemes` and replace with `AuthSchemes_AuthSchemes`
* M365DSCDRGUtil
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ function Get-TargetResource
[array]$settings = Get-MgBetaDeviceManagementConfigurationPolicySetting `
-DeviceManagementConfigurationPolicyId $Identity `
-ExpandProperty 'settingDefinitions' `
-All `
-ErrorAction Stop

$policySettings = @{}
Expand All @@ -130,7 +131,7 @@ function Get-TargetResource
$policySettings.Remove('ClientConfigurationPackageType')
$policySettings.Remove('onboarding')
$policySettings.Remove('offboarding')
$policySettings.Remove('autofromconnector')
$policySettings.Remove('onboarding_fromconnector')

# Removing TelemetryReportingFrequency because it's deprecated and doesn't need to be evaluated and enforced
$policySettings.Remove('telemetryreportingfrequency')
Expand Down
Loading