> For the complete documentation index, see [llms.txt](https://docs.duplocloud.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.duplocloud.com/docs/automation-platform/overview-2/use-cases/billing-and-cost-management/enable-billing-data.md).

# Enabling Azure Billing Data

To enable the billing feature in DuploCloud for Microsoft Azure, you must assign the **Billing Reader** role to the DuploCloud master VM (`DuploMaster`), restart the VM to apply the change, verify that the billing service is running, and then enable billing in the DuploCloud Portal.

## Step 1. Assign the Billing Reader Role

Follow the Azure documentation to [assign a role using the Azure portal](https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal).

When assigning the role:

* **Scope**: Assign the role to the VM named **`DuploMaster`**.
* **Role**: Select **Billing Reader**.
* **Identity**: Choose the system-assigned or user-assigned managed identity associated with the VM.

{% hint style="info" %}
To locate the DuploMaster VM, go to Azure Virtual Machines and search for a name beginning with `DuploMaster`.
{% endhint %}

## Step 2. Restart the VM

After assigning the role, restart the `DuploMaster` VM so the role assignment takes effect.

Refer to [Restart a virtual machine in Azure](https://learn.microsoft.com/en-us/azure/virtual-machines/windows/restart) for detailed instructions.

## Step 3. Enable Billing in DuploCloud

To complete the setup:

1. From the DuploCloud Portal, navigate to **Administrator > Billing**.
2. On the right side of the page, click **Enable Billing Feature**.<br>

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

Billing data will be displayed as it becomes available from Azure.


---

# 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.duplocloud.com/docs/automation-platform/overview-2/use-cases/billing-and-cost-management/enable-billing-data.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.
