Graph API to retrieve Secure Score for M365

Jing Xu 21 Reputation points
2022-01-05T21:14:52.907+00:00

Hi

I can see the following AP can be used to retrieve Azure secure score, is there an equivalent API that can be used to retrieve M365 score?
https://learn.microsoft.com/en-us/graph/api/securescore-get?view=graph-rest-1.0&tabs=http

Thanks
Jing

Community Center Not monitored
0 comments No comments
{count} votes

Accepted answer
  1. JanardhanaVedham-MSFT 3,566 Reputation points
    2022-01-06T08:21:47.933+00:00

    Hi @Jing Xu ,

    Below Microsoft Graph Security APIs can be used to get Microsoft Secure Scope of M365 tenant. Please refer the below addtional microsoft documentation for Graph APIs & more information:

    https://learn.microsoft.com/en-us/graph/api/resources/security-api-overview?view=graph-rest-1.0#secure-score
    https://learn.microsoft.com/en-us/graph/api/resources/securescore?view=graph-rest-1.0
    https://learn.microsoft.com/en-us/graph/api/resources/securescorecontrolprofile?view=graph-rest-1.0
    https://techcommunity.microsoft.com/t5/Security-Privacy-and-Compliance/A-new-home-and-an-all-new-look-for-Microsoft-Secure-Score/ba-p/529641

    162831-microsot-graph-security-api.jpg

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have any further questions about this answer, please click "Comment".

    2 people found this answer helpful.

4 additional answers

Sort by: Most helpful
  1. Vasil Michev 119.5K Reputation points MVP Volunteer Moderator
    2022-01-06T07:01:24.647+00:00

    Those are the M365 Secure scores, so you already have the answer.

    0 comments No comments

  2. Jing Xu 21 Reputation points
    2022-01-06T08:11:59.093+00:00

    thanks @Vasil Michev , do you mean these APIs can be used to retrieve both M365 and Azure Security score? It's not clear in the documentation and I assumed this is for Azure Secure score as I can find a property azureTenantId.


  3. Jing Xu 21 Reputation points
    2022-01-06T14:34:30.937+00:00

    Thanks @JanardhanaVedham-MSFT . That's very helpful. What's the best way to retrieve secure score for Azure? We would like to display in power BI dashboard.


  4. Joseph Rivera-Santiago 0 Reputation points
    2023-01-13T17:03:48.7+00:00

    Is the id field at the end of the API request the tenantid or a different id

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.