microsoftgraph / powershell-intune-samples

This repository of PowerShell sample scripts show how to access Intune service resources. They demonstrate this by making HTTPS RESTful API requests to the Microsoft Graph API from PowerShell.
MIT License
1.35k stars 656 forks source link

Export MDE policies #235

Open theITcloudAdmn opened 1 year ago

theITcloudAdmn commented 1 year ago

Hi!

Has someone found out how to export Microsoft Defender for Endpoint policies (target: mdm,microsoftSense)? image

EndpointSecurityPolicy_Export.ps1 (https://github.com/microsoftgraph/powershell-intune-samples/tree/master/EndpointSecurity) doesn't do the trick (it'll export all policies except the MDE policies).

SuperKokode commented 1 year ago

Same here. Using Graph Explorer I don't see the Antivirus policy either: https://graph.microsoft.com/Beta/deviceManagement/intents"

Seems more like a limitation of the REST API then an actual issue with the script.