# Azure App Registration

We need to create an App registration inside Microsoft Entra in your Azure Portal. We will be using this application to embed the PowerBi reports and dashboards.&#x20;

### 1. App Registration

You need to **register an application** and create a **client secret** for the same. Also note down the **expiry date** of the client secret.&#x20;

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

Once the App has been registered, note down the **Application ID**

***

### 2. Create a client secret

{% stepper %}
{% step %}
From the **Manage** tab inside the application click on '**New client secret**'
{% endstep %}

{% step %}
Give a Description and set an expiry date. Then click '**Add**'
{% endstep %}

{% step %}
{% hint style="warning" %}
Copy the **Client secret value** immediately. You won't be able to get it afterwards
{% endhint %}
{% endstep %}
{% endstepper %}

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

***

### 3. Create a Security Group

Create a Security Group in Microsoft Entra and **add** the above application as a **member** into the security group


---

# 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.aidi.ai/get-started/configuring-aidi-app/powerbi-configuration/azure-app-registration.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.
