Docs
Create Microsoft365 Integration
POST /integrations/microsoft-365
POST
/integrations/microsoft-365Completes the Microsoft 365 connection from the consent redirect, using the code and state Microsoft returned
to the callback page. Fails when the state is invalid or expired, when Microsoft refuses the code (its message
is returned), or when Microsoft 365 is already connected. Requires organization admin (* at the organization).
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| code | string | Optional | |
| state | string | Optional |
Response
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| tenantId | string| null | |
| connectedAt | date-time |