---
title: "Connect a Microsoft application using the app-only flow"
method: POST
path: "/organizations/{organizationId}/applications/{applicationId}/connect-app-only"
tags: ["Organizations"]
---

# Connect a Microsoft application using the app-only flow

`POST /organizations/{organizationId}/applications/{applicationId}/connect-app-only`

## Request

- Base URL: `https://api.xfa.tech`
- URL: `https://api.xfa.tech/organizations/{organizationId}/applications/{applicationId}/connect-app-only`
- Auth: HTTP bearer

## Path parameters

- `organizationId` string, required
- `applicationId` string, required

## Request body

- object
  - `TenantId` string, uuid, required: Entra tenant ID

## Response `200`

Application connected

---

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