Forum Discussion
Secure Score API - Displaying limited controls and missing Data and Device controls
geekganesh I am having the same issue, the UI shows information about devices but the API is missing information related to devices. This is what I get after running the GET API call https://graph.microsoft.com/beta/Security/secureScores
Total score: 303, my current score:77, where as on the UI its totally different and not matching.
Let me know if you find a solution for this.
We're experiencing the same issue when trying to get Secure Scores from graph, they just dont match up with the Secure Score GUI. Its frustrating as we're actively wanting to implement this into a service, and we can't because its incredibly unreliable.
On our E5 tenancy, we have 110 controls on our GUI. On Graph, we're pulling less than 50.
What are we doing wrong?
- geekganeshNov 09, 2020Copper Contributor
Surprised. We are getting only 12 controls in our GUI. Why the number differ between users? We are getting only 12 in the GUI and the same in API.
- CuratrixTechnologiesOct 21, 2020Copper Contributor
In addition to the above, I've found that if running the same endpoint via PowerShell WebInvoke, i get 1400+ controls returned... how is this possible.
- KloudynetShashankOct 21, 2020Copper ContributorHey,
Could you share some details on how you managed to get those many controla via Webinvoke ? Maybe we can use that to get some additional details that are missing via graph.- CuratrixTechnologiesOct 21, 2020Copper Contributor
We used the script from https://blog.ciaops.com/2019/10/04/capturing-all-microsoft-secure-score-items/
Only difference i can see is that it uses "App Registration" in Azure AD with delegated and application permissions, instead of our "Enterprise Application".