Forum Discussion

Nandhana___nk's avatar
Nandhana___nk
New Member
1 year ago
Solved

Issue Fetching Device, Data, App,Identity Scores from Microsoft Defender via Power Automate for BI

Hi everyone,

I'm currently developing a Power BI dashboard and trying to integrate Microsoft Defender scores — specifically Device Score, Data Score, App Score, and Identity Score — using Power Automate and Microsoft Graph API.

I've successfully set up the HTTP request in Power Automate and authorized the necessary Graph permissions, but I’m either not getting the expected values or receiving inconsistent/null responses for these specific scores.

Here’s a summary of what I’ve done so far:

  • Created an Azure App Registration with the following permissions: SecurityScore.Read.All, Vulnerability.Read.All.

  • Using Power Automate to call the endpoint:
    https://graph.microsoft.com/beta/security/secureScores

  • Able to retrieve some data (like overall Secure Score), but the sub-scores like Device, App, Data, and Identity are either missing or not properly parsed.

  • Tried using Parse JSON and checked different fields, but still unable to extract correct values.

Has anyone successfully fetched these individual scores?
Any advice, sample expressions, or working response structures would be greatly appreciated!

Thank you in advance!

— Nandhana

4 Replies