Unable to get SimulationUserEvents via graph API from Microsoft Defender Attack Simulation
I am in the process of getting Attack Simulation data through graph api using python code. I was able to fech data successfully from
graph.microsoft.com/beta/security/attackSimulation/simulations
graph.microsoft.com/beta/security/attackSimulation/training
graph.microsoft.com/beta/reports/security/getAttackSimulationTrainingUserCoverage
but I am getting error when fetching data from
graph.microsoft.com/beta/security/attackSimulation/simulations/{id}/reports/simulationUsers -> SimulationsUsers, SimulationUserEvents
Fetching simulation events...
HTTP Error: 400 - {"error":{"code":"BadRequest","message":"Resource not found for the segment 'reports'.","innerError":{"date":"2025-04-15T05:20:42","request-id":"0baad579-1ffc-4169-b03f-f37c676204bc","client-request-id":"0baad579-1ffc-4169-b03f-f37c676204bc"}}}
It would be really helpfull if someone could let me know the issue is...
Microsoft 365 and Office | Microsoft 365 Defender | Other | Other
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.