# List synced Microsoft 365 users

Lists the Microsoft 365 users the M365 sync stored for this workspace, optionally for one client (through the client's active tenant mappings) and by MFA state. Ordered by user principal name and paged with an opaque cursor. A client with no active mapping has no users to list. This is the last sync's data, not a live Microsoft read.

**GET** /v1/m365/users



## Parameters
- limit (query): integer
- cursor (query): string
- clientId (query): string
- mfaFilter (query): string

## Request body
No request body.

## Responses
- **200** List synced Microsoft 365 users — data (required): array; nextCursor (required): object
- **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
```bash
curl --request GET \
  --url 'https://api.scopable.io/v1/m365/users' \
  --header 'Authorization: Bearer $SCOPABLE_API_KEY'
```

OpenAPI source: https://api.scopable.io/v1/openapi.json