ResourceNotFound for defender for Identity incidents

itay4 36 Reputation points

Hi, we are trying to get Defender for Identity incidents using this:

curl -X GET{} -H "Accept: application/json" -H "Authorization: Bearer <>" -H "Content-Type: application/json" --noproxy "*"

but we are getting this error:

{"error": {"code": "ResourceNotFound", "message": "Incident {} was not found"}

Although the incident ID exists in the MS portal, what should we do?

Microsoft Defender for Identity
Microsoft Defender for Identity
A Microsoft service that helps protect enterprise hybrid environments from multiple types of advanced, targeted cyberattacks and insider threats.
169 questions
0 comments No comments
{count} vote