# Microsoft DNS

## Connection Requirements

{% stepper %}
{% step %}

#### Domain

URL address for Microsoft DNS.

{% hint style="info" %}
🔵 **Default:**\
`management.azure.com`
{% endhint %}
{% endstep %}

{% step %}

#### Tenant ID

To obtain your **Tenant ID**, go to **Azure Portal → Azure Active Directory → Properties** and copy the **Directory (tenant) ID**.
{% endstep %}

{% step %}

#### Client ID

Register an application in **Azure Active Directory → App registrations**. Open the app and copy the **Application (client) ID**.
{% endstep %}

{% step %}

#### Client Secret

To create a **Client Secret**, go to your registered app in **Azure AD → Certificates & secrets → New client secret**.\
Copy the generated secret value securely, as it will not be shown again.
{% endstep %}

{% step %}

#### Subscription ID

Navigate to **Azure Portal → Subscriptions** and copy the ID of the subscription where Microsoft DNS resources are managed.
{% endstep %}

{% step %}

#### API Version

The default API version for Microsoft DNS is `2018-09-01`.
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
⚠️ **Attention**\
Please perform a **connection test** to ensure there is a valid connection to the Microsoft DNS host. When the discovery operation is finalized, you will be able to see the details on the **Assets** page.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.octoxlabs.com/adapters/adapters/microsoft-dns.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
