---
title: "Microsoft365 Test Connection"
method: POST
path: "/oauth/microsoft365/test-connection"
tags: ["OAuth"]
---

# Microsoft365 Test Connection

`POST /oauth/microsoft365/test-connection`

## Request

- Base URL: `https://api.openintake.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openintake.ai/oauth/microsoft365/test-connection`
- Auth: none declared

Test Microsoft 365 connection by listing users

## Response `200`

Successful Response

- Microsoft365TestConnectionResponse: Response from testing Microsoft 365 connection
  - `success` boolean, required
  - `message` string, required
  - `user_count` integer, nullable

---

[API](https://skmtc.dev/openintake/apis/openintake-api.md) - [All operations](https://skmtc.dev/openintake/apis/openintake-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openintake/apis/openintake-api/revisions/de90a8dcbc07?raw)
