---
title: "Get Azure Application ID For Project"
method: GET
path: "/v4/organizations/{organizationId}/projects/{projectId}/cmekAzureApplication"
tags: ["CMEK"]
---

# Get Azure Application ID For Project

`GET /v4/organizations/{organizationId}/projects/{projectId}/cmekAzureApplication`

## Request

- Base URL: `https://cloudapi.cloud.couchbase.com`
- URL: `https://cloudapi.cloud.couchbase.com/v4/organizations/{organizationId}/projects/{projectId}/cmekAzureApplication`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/couchbase/apis/couchbase-capella-management-api/docs/v4/organizations/:organizationId/projects/:projectId/cmekAzureApplication/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves the application ID so that the customer can install the service principal in their Azure tenant for a specific project.

In order to access this endpoint, the provided API key must have at least one of the following roles:
- Organization Owner
- Organization Member
- Project Manager
- Project Viewer
- Database Data Reader/Writer
- Database Data Reader

To learn more, see [Organization, Project, and Database Access Overview](https://docs.couchbase.com/cloud/organizations/organization-projects-overview.html).

## Response `200`

Successfully retrieved the Azure application ID for a project.

- GetAzureCMEKApplicationResponse
  - `id` string, required: The client ID of the multi-tenant entra application.

## Other responses

- `400`: Returned when we are unable to decode the recevied payload.
- `403`: The client does not have the necessary permissions to access this resource.
- `404`: The requested resource was not found.
- `429`: Returned when the client exceeds the rate limit for the given APIKey.
- `500`: An unexpected error occurred in the server while processing this request.

---

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