> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pads4.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Azure Set-up

> Register an Azure Active Directory application and create the client secret used by the PADS4 Power BI integration.

To connect **Power BI** to PADS4, you first register a new application in **Microsoft Azure Active Directory**. The registration produces the client ID, tenant ID, and client secret that PADS4 CTRL Center needs.

## Before you begin

Make sure you have:

* An **Azure AD tenant** and permission to create app registrations.
* Reviewed the [Introduction](/ctrl-centre/administration/Introduction) for limitations that apply to the service principal approach.

## Step 1: Create the app registration

1. Sign in to the [Microsoft Azure Portal](https://portal.azure.com).
2. Go to **Azure Active Directory** > **App Registrations** and select **New registration**.
3. Configure the registration:
   * **Name** — any reference name for the integration.
   * **Supported account types** — select **Single-tenant** or **Multi-tenant** based on your requirements. **Do not** enable personal Microsoft accounts.
   * **Redirect URI** — leave empty. Power BI integration does not require one.
4. Select **Register**.

<img height="200" src="https://mintcdn.com/pads4/i2g8nj0w2vU_RF-6/images/ctrl-centre/credentials/powerbi/powerbi-register.png?fit=max&auto=format&n=i2g8nj0w2vU_RF-6&q=85&s=aaeef381e960d92913582cd092371c8e" alt="New app registration form in the Azure portal" data-path="images/ctrl-centre/credentials/powerbi/powerbi-register.png" />

## Step 2: Create a client secret

The client secret lets PADS4 authenticate to Power BI as the service principal.

1. In the app registration, select **Certificates & secrets** in the left menu.
2. Open the **Client secrets** tab and select **New client secret**.
3. Enter a description and choose an expiration duration.
4. Select **Add**.
5. **Copy the client secret value immediately** — it will not be visible again after you leave the page.

<img height="200" src="https://mintcdn.com/pads4/i2g8nj0w2vU_RF-6/images/ctrl-centre/credentials/powerbi/powerbiClientSecret.png?fit=max&auto=format&n=i2g8nj0w2vU_RF-6&q=85&s=36aa9cb0802920a6ef05c0df126ee5be" alt="Client secret listed in Certificates and secrets" data-path="images/ctrl-centre/credentials/powerbi/powerbiClientSecret.png" />

<Warning>
  Create and configure a new client secret before the current one expires, otherwise the Power BI integration will stop working.
</Warning>

## Step 3: Collect the values for PADS4 CTRL Center

Gather the following from your app registration. You'll enter them in PADS4 CTRL Center to complete the integration.

| Value                       | Where to find it                          |
| :-------------------------- | :---------------------------------------- |
| **Application (Client) ID** | App Registration > Overview               |
| **Directory (Tenant) ID**   | App Registration > Overview               |
| **Client secret**           | App Registration > Certificates & secrets |

<img height="200" src="https://mintcdn.com/pads4/i2g8nj0w2vU_RF-6/images/ctrl-centre/credentials/powerbi/PowerBIClientID.png?fit=max&auto=format&n=i2g8nj0w2vU_RF-6&q=85&s=7ccf289cc93cef45f2c58796f7d7a22e" alt="Application and Directory IDs in the app registration Overview" data-path="images/ctrl-centre/credentials/powerbi/PowerBIClientID.png" />
