Forum Discussion
dmarquesgn
Dec 06, 2023Iron Contributor
Hunting query which works on the Portal but not on Powershell
Hi, I have a need to extract all my vulnerabilities from Defender TVM and export do JSON or CSV. I've built an hunting query which gives at least the results consistently. I've got more than 200k vu...
Andres-Bohren
Dec 19, 2023Iron Contributor
Hi dmarquesgn
Do you have the Permissions on the API and send the Bearer Token in the Header?
Maybe this Article helps you on your way...
https://blog.icewolf.ch/archive/2023/04/21/microsoft-365-defender-advanced-hunting-with-powershell/
Regards
Andres