Get MFA adoption status
Applies to: Partner Center API
This article explains how to get the multifactor authentication (MFA) adoption status for each partner within a tenant.
Prerequisites
- Credentials as described in Partner Center authentication. This scenario supports authentication with App+User credentials.
REST request
Request syntax
Method | Request URI |
---|---|
GET | {baseURL}/v1/applicationmfaadoptionstatus> |
Request headers
- For more information, see Partner Center REST headers.
Request body
None.
Request example
GET https://api.partnercenter.microsoft.com/v1/applicationmfaadoptionstatus HTTP/1.1
Authorization: Bearer <token>
Host: api.partnercenter.microsoft.com
Content-Type: application/json
REST response
If successful, this method returns a collection of API request summarized by Application resources in the response body.
Response success and error codes
Each response comes with an HTTP status code that indicates success or failure and other debugging information. Use a network trace tool to read this code, error type, and other parameters. For the full list, see Error Codes.
Response example
HTTP/1.1 200 OK
Content-Length: 313
Content-Type: application/json
MS-CorrelationId: 4cb80cbe-566b-4d8b-8b8f-af1454b73089
MS-RequestId: 566330a7-1e4b-4848-9c23-f135c70fd810
Date: Thu, 21 May 2020 22:29:17 GMT
[
{
"loginDate": "2020-05-20",
"mfaCompliantRequestCount": 7,
"totalRequestCount": 7,
"applicationId": "14f38d7d-c4fc-448a-b2df-0fc60e75465a",
"applicationName": ""
},
{
"loginDate": "2020-05-19",
"mfaCompliantRequestCount": 7,
"totalRequestCount": 14,
"applicationId": "60a00bf2-0644-4279-83b3-87ddf96f2509",
"applicationName": ""
}
]
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for