> For the complete documentation index, see [llms.txt](https://docs.ox.security/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ox.security/get-started/onboarding-to-ox/source-control/azure/connecting-to-azure.md).

# Connecting to Azure

#### Getting your Subscription ID

1. Search "subscriptions" in the search bar and click on it.

<figure><img src="/files/R5PVFx8Gj2NNyS36e5LX" alt=""><figcaption></figcaption></figure>

2. Select your Subscription.

<figure><img src="/files/7nTOyHaTGq6xpkLqaK3n" alt=""><figcaption></figcaption></figure>

3. Once you click on subscription, select overview on the right-side panel you will get your **Subscription ID**.

<figure><img src="/files/IfusqDhnxJwTP4ycWFRi" alt=""><figcaption></figcaption></figure>

#### Get Client ID, Client Secret and Tenant ID

1. Search for "App Registrations" in the search bar and click on it.

<figure><img src="/files/nJ4GHzoKq8uf52VqF0nQ" alt=""><figcaption></figcaption></figure>

2. From the list, select the App which will have Container registry access.

<figure><img src="/files/m5ok2ZYlLCO657YQntJ4" alt=""><figcaption></figcaption></figure>

3. Once selected, click on overview on the left side menu and on the right-side panel you will see Client ID and Tenant ID.

<figure><img src="/files/OeIPm4zagtmSPtBqwwsL" alt=""><figcaption></figcaption></figure>

4. On the same page on the left side menu click on the only option - Certificates & Secrets. You can create a new secret or use an existing secret value.

<figure><img src="/files/chM0dwfZkZWVKI4E0WHn" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ox.security/get-started/onboarding-to-ox/source-control/azure/connecting-to-azure.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
