Skip to content

m365

Summarize Microsoft 365 MFA coverage

GET/v1/m365/mfa-summary

Counts the synced Microsoft 365 users with MFA, without MFA, and with an unknown MFA state, for the whole workspace or for one client through its active tenant mappings. compliance.mfa_status gives the same counts for one client with an optional list of users.

Parameters

NameInRequiredTypeDescription
clientIdqueryNostring—

Request body

No request body.

Responses and errors

  • 200

    Summarize Microsoft 365 MFA coverage

    • clientId (required): object
    • mapped (required): boolean
    • totalUsers (required): integer
    • mfaEnabled (required): integer
    • mfaDisabled (required): integer
    • mfaUnknown (required): integer
    • percentage (required): integer
  • 400

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • ValidationFailedError:
    • allOf: ErrorEnvelope
  • 401

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • UnauthorizedError:
    • allOf: ErrorEnvelope
  • 403

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • ForbiddenError:
    • allOf: ErrorEnvelope
  • 429

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • RateLimitedError:
    • allOf: ErrorEnvelope
  • 503

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • UnavailableError:
    • allOf: ErrorEnvelope

Example

curl --request GET \
  --url 'https://api.scopable.io/v1/m365/mfa-summary' \
  --header 'Authorization: Bearer $SCOPABLE_API_KEY'

Replace $SCOPABLE_API_KEY with a key created in Settings, API.

View the OpenAPI 3.1 source

Need help with the API? …