Forum Discussion

dmarquesgn's avatar
dmarquesgn
Iron Contributor
Jan 06, 2023

Get Microsoft Defender 365 Secure Score via Powershell or API

Hi,

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?

 

Thanks

2 Replies

  • NickNieuwenhuis's avatar
    NickNieuwenhuis
    Copper Contributor
    Hi dmarquesgn,

    You should be able to extract the data through the Security API listed here: https://learn.microsoft.com/en-us/graph/api/resources/security-api-overview?view=graph-rest-1.0#secure-score.

    BR,
    Nick
    • dmarquesgn's avatar
      dmarquesgn
      Iron Contributor

      NickNieuwenhuis 

      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?

      Thanks

Resources