Forum Discussion

GrahamP67's avatar
GrahamP67
Copper Contributor
Apr 20, 2023

Defender Advanced Hunting with PowerShell

I am trying to write a PS script that runs a query in Defender Adavanced Hunting to get details from the EmailAttachmentInfo schema. I have registered an App, assigned the permission WindowsdefenderA...
  • GrahamP67's avatar
    Apr 20, 2023
    In case anyone has a similar issue and comes across this post, the reolution was to use a different URL https://api.security.microsoft.com (the one in my script was defender for endpoint).

Resources