> For the complete documentation index, see [llms.txt](https://docs.trustlogix.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.trustlogix.io/data-sources/power-bi/pre-requisites-for-power-bi-registration.md).

# Pre-requisites for Power BI Registration

#### Before registering Power BI in TrustLogix, ensure you have the following:

#### **Licensing and Roles for Create Service Account**

* Ensure that the Power BI Semantic Models are configured to **Premium Per User, Premium Capacity,** or **Fabric Capacity** (refer to image)
  * Refer to **this** [**documentation** ](https://learn.microsoft.com/en-us/fabric/enterprise/powerbi/service-premium-connect-tools)for more detailed information
* The User creating the service principal in the following steps is assigned to a **Fabric Administrator** role

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

#### **Power BI Service Settings (Admin Portal)**

* The following developer settings need to be enabled for the service principal to call Fabric Public APIs
  * If you would like only give access for a certain security group, please select the **Specific security groups** option below instead of The entire organization and assign the security group to that

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

* Also enable the XMLA endpoint option to Read Write under Premium Per User
  * if using Premium Capacity, enable under that

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

#### **Azure AD Service Account**

* A **dedicated service account** (Azure Application) using Azure Application Registration that TrustLogix will use to connect to Power BI.
* Create App In Azure using App registration
  * Sign in to the Azure portal and browse to **Azure Active Directory** → **App registrations**
  * Click **New registration**
  * Create the application
    * **Name**: e.g. `TrustLogix-PBI`
    * **Supported account types**: choose **Accounts in this organizational directory only**
    * **Redirect URI**: leave blank (not needed for client‑credentials flow)
    * Click **Register**
* **Grant the API Permissions**
  * The application should have the following API Permissions on Power BI Service:
    * **Admin consent** to access Power BI APIs

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

* (Optional) If you would like to use TrustLogix for Group-Based policies in Power BI, please add the following permission as well

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

* #### **Fetch Tenant ID and Client ID**
  * Obtain your **Tenant ID and Client ID using Application Overview Page**
    * The **Client ID** is available in **App Registration → Overview → Application (client) ID**
    * The **Tenant ID** is available in **App Registration → Overview → Directory (tenant) ID**
* #### **Fetch Client Secret**
  * **Generate a Client Secret under Application Overview Page → Manage → Certificates & Secrets**
    * Please make note of the expiry date of the Secret and update it as TrustLogix will not be able to auto update the Secret

#### **Workspace Assignment to the Service Account**

* The service account created above needs to be added to all workspaces that you would like TrustLogix to secure
  * Ensure that the service account is granted **ADMIN** level access to these workspaces
  * If you have added the service account to a security group, add the security group as an ADMIN instead

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


---

# 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.trustlogix.io/data-sources/power-bi/pre-requisites-for-power-bi-registration.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.
