m365
Read a client's Conditional Access policies live
/v1/m365/conditional-access-policiesReads the Entra ID Conditional Access policies of a client's Microsoft 365 tenant from Microsoft Graph now, with their state, conditions and grant controls. A client mapped to several Microsoft tenants needs m365TenantId. Answers unavailable when Microsoft refuses or cannot be reached.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| clientId | query | Yes | string | — |
| m365TenantId | query | No | string | — |
Request body
No request body.
Responses and errors
200
Read a client's Conditional Access policies live
- m365Tenant (required): object
- data (required): array
- count (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/conditional-access-policies' \
--header 'Authorization: Bearer $SCOPABLE_API_KEY'Replace $SCOPABLE_API_KEY with a key created in Settings, API.
Need help with the API? …