# Microsoft Fabric

### Prerequisites <a href="#prerequisites" id="prerequisites"></a>

* A paid **Fabric F2 capacity or higher**, or a **Power BI Premium capacity (P1 or higher)** with Microsoft Fabric enabled.
* Fabric Data Agent tenant settings enabled.
* Cross-geo AI processing enabled.
* Cross-geo AI storage enabled.
* At least one of the following with data: a warehouse, a lakehouse, one or more Power BI semantic models, a KQL database, or an ontology.
* Power BI semantic models with XMLA endpoint tenant setting enabled for Power BI semantic model data sources.

### Part 1: Permission Prerequisites in Microsoft Fabric

For the Fabric Data Agent feature to function and be consumed by Power Omni, an administrator must enable the following Microsoft Fabric settings.

> 1. Log in to Microsoft Fabric with an administrator account.
> 2. Open the **Admin Portal**:
>    * Select the gear icon in the upper-right corner.
>    * Select **Admin Portal**.
> 3. Navigate to **Tenant Settings**:
>    * In the Admin Portal, select **Tenant Settings** from the left navigation panel.

* #### Enable AI Service Settings (Copilot and Azure OpenAI)

This setting is essential for AI features, including the Data Agent, to function properly.

1. Users can use Copilot and other Azure OpenAI features.

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

2. Data sent to Azure OpenAI may be processed outside your geographic region, compliance boundary, or national cloud instance.

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

3. Data sent to Azure OpenAI may be stored outside your geographic region, compliance boundary, or national cloud instance.

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

* #### Enable Fabric Data Agent Tenant Settings

By default, this feature is disabled at the tenant level and must be enabled to allow users to create and share Fabric Data Agent items.

1. Users can create and share Data Agent item types.

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

* #### Enable Power BI Semantic Model Integration via XMLA Endpoints

If your organization stores data in different geographic regions, cross-geo AI processing and storage settings must be enabled to ensure data access.

1. Allow XMLA endpoints and Analyze in Excel with on-premises semantic models.

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

{% hint style="danger" %}
**Important:** It may take up to one hour for the changes to take effect.
{% endhint %}

### Part 2: Creating the Data Agent in Microsoft Fabric

The Fabric Data Agent is the item that acts as a conversational Q\&A system for your data.

#### 2.1 Creating the Item

1. In your Fabric Workspace, click **"+ New item"** and search for **"Data Agent"**.

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

2. Give your agent a name (Ex: "Sales and Billing Agent").

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

### 2.2 Configuring Data Sources

1. **Add Sources:** In the Data Agent, select the option to add data sources. You can add up to five data sources in total, in any combination of supported types.

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

2. **Choose:** Select one or more sources, such as a Lakehouse or a Power BI Semantic Model.

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

3. After adding sources, the Explorer panel on the left will be populated with available tables.
   * Use the checkboxes to make tables available to the AI.
   * **Essential Tip:** Use descriptive names for tables and columns (Ex: SalesData is better than TableA). This helps the AI generate more accurate queries.

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

{% hint style="info" %}

### **Note:**

You only need **Read permission** to add a Power BI semantic model as a data source. Write permission is not required because the Fabric Data Agent issues read-only queries.
{% endhint %}

### 2.3 Behavioral Refinement of the Agent

1. **Provide Instructions:**

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

* Select **Data Agent Instructions** to open the configuration panel.
* You can write up to **15,000 characters in English** to guide the AI’s behavior.
* **Usage Examples:** You can specify the exact data source to be used for certain types of questions. Examples may include guiding the AI to use:

  * Power BI semantic models for financial queries
  * A lakehouse for sales data
  * A KQL database for operational metrics

  These instructions ensure that the AI generates appropriate queries (SQL, DAX, or KQL) based on your guidelines and the context of the questions.
* Test the agent’s performance.

<p align="center"> <img src="/files/vyYsE46CfLYQAvQ7ESAL" alt=""></p>

2. Publishing:

   * After testing and validating performance, select **Publish**.

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

   * Publishing creates a published version (for sharing and consumption) and maintains a draft version (for refinement).

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

   * **Description:** Provides context when the agent appears in other experiences. The description is used by other AI orchestration systems (such as Power Omni) to properly invoke the agent.

   <figure><img src="/files/4rXPTTMidNMBjbDxaCTR" alt=""><figcaption></figcaption></figure>

* After publishing the Data Agent, click **View publication details**.

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

* The published URL will appear. Copy the URL — it will be used to configure the connection in Power Omni.

### Part 3: Configuring the Connector in Power Omni

Power Omni will consume the Fabric Data Agent you just created.

#### 3.1 Creating the Fabric Connector

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

1. Access the Power Omni Administration Portal and navigate to **Connectors**.
2. Click **"Add Connector"** and select **"Microsoft Fabric Connector"**.
3. Fill in the information:

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

* Select the project.
* **Connector Name:** Internal name for identification (Ex: "Sales Analysis").
* **Tool Description:** Describe the connector’s function for the AI Agent (Ex: "Use this tool to query real-time sales, billing, and inventory metrics.").

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

* Under connection configuration: select **Create New Connection**.
* Provide a name for the Connection. If you want to reuse the same connection later in another connector, simply choose **Import Existing Connection** using its name.
* Paste the URL copied from Fabric into the **Fabric Data Agent URL** field. The system will automatically identify the Workspace ID and Artifact ID.
* Click **"Save"**.

### 3.2 Linking the Connector to the Agent

The final step is granting permission for your AI Agent to use the new connector.

1. Go to **Artifacts > Agents** in the Administration Portal.

<div align="left"><figure><img src="/files/yVp4YD1cjhig2rx7uv01" alt=""><figcaption></figcaption></figure> <figure><img src="/files/0pTQ6y6wABVJw0HQwr1l" alt=""><figcaption></figcaption></figure></div>

2. Select the AI Agent that will query Fabric.
3. Navigate to **Relationships > Connectors**.
4. Locate and add the newly created **Microsoft Fabric Connector**.

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

5. Click **"Save"**.
6. Also remember to grant permission to a user, group, or workspace to view that Agent.

#### ✅ Final Result

The AI Agent is now connected to your data environment.

When a user asks, for example, “What was the total revenue last quarter?”, the Agent will:

* Recognize the intent (based on the “Tool Description”).
* Call the Fabric Data Agent.
* The Fabric Agent will translate the question into SQL/DAX/KQL.
* The Agent will receive the data from Fabric and format it into a natural language response for the user.

{% hint style="info" %}
If you have any questions regarding the Microsoft Fabric integration process, please contact Support.
{% endhint %}


---

# 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.poweromni.ai/en/administration-and-configuration/artifacts/connectors/microsoft-fabric.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.
