question

MaeronaWynn-8295 avatar image
0 Votes"
MaeronaWynn-8295 asked 35247258 edited

Tenant Secure Score - Average Comparative Scores data are not available in Graph API

From August 7, 2021 onwards, I couldn't retrieve the data for Average Comparative scores in Microsoft Secure Scores via REST API.

REST API used : https://graph.microsoft.com/beta/security/secureScores

Shortend sample Response:

{
"id": "$$$$$$$$$$$$$$",
"azureTenantId": "$$$$$$$$$$$",
"activeUserCount": 22,
"createdDateTime": "2021-09-08T00:00:00Z",
"currentScore": 27.96,
"enabledServices": [
"HasProject",
"HasVisio",
"HasAADBasic",
"HasTeams"
],
"licensedUserCount": 250,
"maxScore": 79,
"vendorInformation": {
"provider": "SecureScore",
"providerVersion": null,
"subProvider": null,
"vendor": "Microsoft"
},
"averageComparativeScores": [
{
"basis": "AllTenants",
"averageScore": 0,
"deviceScoreMax": 0,
"appsScoreMax": 0,
"infrastructureScoreMax": 0,
"dataScoreMax": 0,
"identityScore": 0,
"deviceScore": 0,
"appsScore": 0,
"identityScoreMax": 0,
"infrastructureScore": 0,
"dataScore": 0
},
{
"basis": "IndustryTypes",
"averageScore": 0,
"deviceScoreMax": 0,
"appsScoreMax": 0,
"infrastructureScoreMax": 0,
"dataScoreMax": 0,
"identityScore": 0,
"deviceScore": 0,
"appsScore": 0,
"identityScoreMax": 0,
"infrastructureScore": 0,
"dataScore": 0
},
{
"basis": "TotalSeats",
"averageScore": 0,
"deviceScoreMax": 0,
"appsScoreMax": 0,
"infrastructureScoreMax": 0,
"dataScoreMax": 0,
"identityScore": 0,
"deviceScore": 0,
"appsScore": 0,
"identityScoreMax": 0,
"infrastructureScore": 0,
"dataScore": 0
}
]
,
"controlScores": [
{
"controlCategory": "Identity",
"controlName": "AdminMFAV2",
"description": "Requiring multi-factor authentication (MFA) for all administrative roles makes it harder for attackers to access accounts. Administrative roles have higher permissions than typical users. If any of those accounts are compromised, critical devices and data is open to attack. ",
"score": 6.96,
"implementationStatus": "You have 16 out of 23 users with administrative roles registered and protected with MFA.",
"controlState": "active",
"lastSynced": "2021-09-08T00:00:00Z",
"IsApplicable": "true",
"count": "7",
"total": "23",
"scoreInPercentage": 69.56
}
] }

Is there a bug in this API else I need to use different REST API for fetching these comparative scores?

Thanks in Advance

Regards,
Maerona Wynn

microsoft-graph-security
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello, Thank you for reaching out. Would you try with v1.0 and see if the result is the same, from the documentation, this API is no longer available in beta


0 Votes 0 ·

Hello Diana,

I could see similar result in v1.0 too.

Request : https://graph.microsoft.com/v1.0/security/secureScores?$top=5

Shortend sample Response:
133215-image.png
In the documentation, they are providing averageComparativeScores with basis and averangeScore attributes. But those values are also 0 when I retrieved via API.
I could see values in Microsoft Secure Score Portal

133214-screenshot-2021-09-18-133628.png


0 Votes 0 ·

0 Answers