Microsoft Entra Suite Tech Accelerator
Aug 14 2024, 07:00 AM - 09:30 AM (PDT)
Microsoft Tech Community

Get Microsoft Defender 365 Secure Score via Powershell or API

Iron Contributor


I'm getting some monthly metrics programatically to build some dashboard.

I would like to extract the Microsoft Defender 365 Secure Score, our own and the "Organizations of a similar size". I've tried to search but couldn't find a way to extract that via a Hunting Query or Graph.

Anyone was able to get this data?



2 Replies
Hi dmarquesgn,

You should be able to extract the data through the Security API listed here:



Hi Nick,

Thanks for the reference. I've already have seen that one and run it, but it give me a lot of results, but I can't see there my secure score.

Maybe it's a question of interpreting the results. Have you seen the results and compare it with what you see on your Microsoft Defender 365 portal?