# Azure Portal link

Creating a direct link to the Azure Portal from your DuploCloud Infrastructure saves your time when you work with DuploCloud Azure resources. Instead of toggling between the DuploCloud Portal and the Microsoft Azure Portal, get instant access to the Azure Portal from DuploCloud.

{% hint style="warning" %}
Failure to follow these steps when creating a link to the Azure Portal from the DuploCloud Portal results in the error message:

`Error while fetching Azure portal link: Portal url config does not exist`
{% endhint %}

## Creating a link to the Azure Portal

1. In the DuploCloud Portal, navigate to **Administrator** -> **Infrastructure**. The **Infrastructure** page displays.
2. From the **Name** column, select the Infrastructure for which you want to add a link to the Azure Console.
3. Click the **Metadata** tab.
4. Click **Add**. The **Add Infrastructure Tag** pane displays.
5. In the **Key** field, enter **AzurePortalLink**.<br>

   <div align="left"><figure><img src="/files/MKu1p34Y40mQMWU2KGGj" alt=""><figcaption><p><strong>Add infrastructure Tag</strong> pane with <strong>Key AzurePortalLink</strong></p></figcaption></figure></div>
6. In the **Value** field, enter the URL for your Azure Portal.
7. Click **Create**.

{% hint style="warning" %}
The **Value** in the example above is DuploCloud's internal Azure Portal link.
{% endhint %}

## Accessing the Azure Portal

After you [configure Azure Portal link ](#creating-a-link-to-the-azure-portal)to an Infrastructure, access the Azure Console from the DuploCloud Portal in the **Actions** menu for Azure **Hosts**.

1. In the DuploCloud Portal, navigate to **Cloud Services** -> **Hosts**. The **Hosts** page displays.
2. From the **Name** column, select the Host you are working with.
3. From the **Actions** menu, select **Connect** -> **Azure Portal**.

<figure><img src="/files/EqEKF9suBOlVcgBUdbGk" alt=""><figcaption><p>Host details page with with the <strong>Action Menu</strong> and <strong>Azure Portal</strong> link highlighted</p></figcaption></figure>


---

# 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.duplocloud.com/docs/automation-platform/overview-2/use-cases/azure-portal-link.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.
