---
title: Azure
slug: azure
createdAt: 2025-06-12T21:57:00.428Z
---

Here are the steps to manually set up your Azure integration with Amberflo.

## Prerequisites

1. **Azure Portal Access**: Ensure you have sufficient permissions in the Azure portal to create exports and access billing scopes.
2. **Global Admin Access**: If you do not see specific billing scopes or subscriptions, you may need Global Administrator privileges.

During the setup process, you will define the following values. Be sure to record them, as you will need to share these with Amberflo to complete the integration. Thee are two types of values; **Credentials** and **Report Details.**

### Credentials

These values allow Amberflo to securely access the exported data from your Azure environment.

**Application (client) ID:** The unique identifier for the application you registered in Azure.

**Directory (tenant) ID:** The identifier for your **Microsoft Entra ID** (formerly Azure Active Directory) tenant.

**Client secret:&#x20;**&#x54;he secret used to authenticate the application. If the secret has an expiration date, be sure to rotate it and update Amberflo before it expires.

### Report Details

These values determine where your cost export will be stored and how Amberflo retrieves it.

**Storage Account:** The name of the Azure Storage Account where the export will be delivered.

**Container Name:** The specific container inside the storage account that will hold the export files.

**Directory Path:** Similar to a folder path, this defines the virtual subdirectory inside the container where the report files will be stored.

- **Important:** Azure will automatically create this structure when the report is generated. You do not need to manually create the folders. Choose a clear and descriptive path to make it easier to identify and manage in the future. Do not include leading or trailing slashes (e.g., use amberflo\_reports, not /amberflo\_reports/).

**Export Name:** The label you assign to this cost export within Azure. This will be used for identification of the report in the portal.

## Step 1: Create a Service Principal

1. In the **Azure portal**, search for and select **Microsoft Entra ID** (formerly Azure Active Directory).
2. Select **App registrations**, then click **New registration**.
   1. **Name** the application (e.g., “Amberflo”).
   2. Leave the default values for other parameters and click **Register**.
   3. On the **Overview** page, save the **Application (client) ID** and the **Directory (tenant) ID**. These will be needed later for Amberflo.

## Step 2: Set Up Authentication

For Amberflo integration, use password-based authentication (an application secret):

1. Under your new app registration, select **Certificates & secrets** from the left-hand menu.
2. Click **+ New client secret** to create a new client secret.
   - **Important**: When the secret is set to expire, you must renew it before expiration and provide the updated value to Amberflo.
3. Copy the **Value** of the newly created client secret. Save it somewhere safe to share with Amberflo, along with the **Application (client) ID** and the **Directory (tenant) ID&#x20;**&#x66;rom Step 1.

## Step 3: Access Cost Management + Billing

1. Log in to the Azure Portal and navigate to **Cost Management + Billing**.
2. Select the **Billing Scope** you want to export.&#x20;
   - If you do not see the billing scope or subscription, ensure you have the correct permissions or enable Global administrator access if needed.

## Step 4: Create the Focus Export

1. From the **Cost Management + Billing** page, select **Exports**.
2. Click **+ New Export**.
3. Configure the Export settings:
   1. **Export Type**: Select **Focus**. (This should use FOCUS version 1.2)
   2. **Storage Account**: Choose **Create New Storage Account**.
   3. **Name**: Enter a unique name for the storage account.
   4. **Container Name**: Enter any desired name (e.g., amberflo-exports).
   5. **Directory Path**: Enter a descriptive directory name of your choice. This should not be the same as the storage account name or container name as this can cause confusion later on.
   6. **Format**: Select **Parquet**.
   7. **Compression**: Select **Snappy.**
4. Click **Review + Create** to finalize the export

## Step 5: Grant Amberflo Access to the Container

1. In your **Storage account**, select **Containers** and open the container you created for the export. **Note:** If you are not seeing the container it is because it can take time for the container to be created when you set up a new export, sometimes **up to 30 minutes.**
2. Click **Access control (IAM)**.
3. Click **+ Add** and then select **Add role assignment**.
4. Search for **Storage Blob Data Reader**, select it, and click **Next**.
5. Click **+ Select members** and find the Amberflo service principal you created.
6. Select the Amberflo service principal and click **Select**.
7. Click **Review + Assign** to complete the role assignment.

## Step 6: Provide Details to Amberflo

### Credentials:

- **Application (client) ID**
- **Directory (tenant) ID**
- **Client secret**

### Report Details:

- **Storage Account**
- **Container Name**
- **Directory Path**
- **Export Name**

Amberflo will use this information to setup the integration with Azure.

## Optional Steps:

To Whitelist IPs in Azure blob storage:

1. Open the **Azure Portal**
2. Go to the **Storage Account** in which the container has the FOCUS data for Amberflo. This will narrow Amberflo access to just your storage container.
3. In the left pane, go to **Security + Networking&#x20;**&#x74;hen **Networking**
4. Select **Enabled from selected virtual networks and IP addresses** under **Public network access**
5. Under **Firewall**, enter the Amberflo VPC NAT IP addresses: 54.68.31.10, 52.41.247.250
6. Click **Save**

