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

IntuneDeviceConfigurationWindows10: Issue with DefenderDetectedMalwareActions property export #1479

Closed
aslan-im opened this issue Oct 1, 2021 · 2 comments · Fixed by #2110 or #2123
Assignees
Labels
Bug Something isn't working Intune

Comments

@aslan-im
Copy link
Contributor

aslan-im commented Oct 1, 2021

Details of the scenario you tried and the problem that is occurring

The property DefenderDetectedMalwareActions exports wrong.
#1413

Verbose logs showing the problem

That's what has been exported to the file
DefenderDetectedMalwareActions = System.Collections.Generic.Dictionary`2[System.String,System.Object];

Suggested solution to the issue

Edit Export-TargetResource function in IntuneDeviceConfigurationWindows resource

The DSC configuration that is used to reproduce the issue (as detailed as possible)

#Export-M365DSCConfiguration -Quiet -GlobalAdminAccount $Credentials -Path .\ -FileName Intune.ps1 -ComponentsToExtract  @("IntuneDeviceConfigurationPolicyWindows10")

That's what should be exported:

$policy.AdditionalProperties.defenderDetectedMalwareActions

Key              Value
---              -----
lowSeverity      quarantine
moderateSeverity quarantine
highSeverity     remove
severeSeverity   remove

The operating system the target node is running

OsName : Microsoft Windows Server 2019 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture : 64-bit
WindowsVersion : 1809
WindowsBuildLabEx : 17763.1.amd64fre.rs5_release.180914-1434
OsLanguage : en-US
OsMuiLanguages : {en-US}

Version of the DSC module that was used ('dev' if using current dev branch)

1.21.922.1

@aslan-im aslan-im changed the title IntuneDeviceConfigurationWindows: Issue with DefenderDetectedMalwareActions property export IntuneDeviceConfigurationWindows10: Issue with DefenderDetectedMalwareActions property export Nov 8, 2021
@aslan-im
Copy link
Contributor Author

aslan-im commented Dec 1, 2021

Hello @MySimpleCode! Could you please look at this?

@NikCharlebois NikCharlebois added Bug Something isn't working Intune Help Wanted Extra attention is needed labels Dec 10, 2021
@andikrueger
Copy link
Collaborator

@aslan-im Is this still an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Intune
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants