# Power BI Cloud System Configuration

## **Overview**

**Power BI Cloud supports two types of authentication.**

* Service Principal
* Service User

### **Service Principal**

**Prerequisites**&#x20;

The following are the prerequisites required for establishing a connection: &#x20;

* Azure Configuration
* Power BI Configuration
* Service Principal User Account with minimum Read Permissions
* Configure Environment Variables (Optional)

**Azure Configuration**

1. **Creating an App**
   1. Sign in to the Azure portal and search for Azure AD in the Azure services text box. Under **Manage**, click on **App registrations**.\
      ![App Registration](https://support.ovaledge.com/hs-fs/hubfs/App%20Registration.png?width=207\&height=265\&name=App%20Registration.png)
   2. Click on **New registration**.                        &#x20;

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/App%20Registration-1.png?width=512&#x26;height=72&#x26;name=App%20Registration-1.png" alt=""><figcaption></figcaption></figure></div>
   3. Provide a meaningful name for the application that will be visible to users.
   4. Choose the types of accounts that can access the application, such as Single tenant, Multi-tenant, etc.

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/PowerBI-app%20reg%20list.png?width=512&#x26;height=152&#x26;name=PowerBI-app%20reg%20list.png" alt=""><figcaption></figcaption></figure></div>
   5. Copy the **client ID** and **tenant ID**. Next, click on ***Manage*** and select ***Certificates & secrets*** from the left side menu. Then, create a client ID and client secret.

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/PowerBI-app%20reg-cert-secret.png?width=512&#x26;height=334&#x26;name=PowerBI-app%20reg-cert-secret.png" alt=""><figcaption></figcaption></figure></div>
   6. Click on **Add**.

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/client%20secret.png?width=512&#x26;height=103&#x26;name=client%20secret.png" alt=""><figcaption></figcaption></figure></div>
   7. Copy the client's secret key, which will be used to create a connection.
2. **Creating a new Security Group**
   1. Sign in to the Azure portal and search for *Azure AD***.**
   2. Create a new security group in *Azure Active Directory*. If an existing security group is already available for use, this step can be skipped.
   3. In the Manage, click on the Groups. The Groups Overview page is displayed.
   4. Click on the New Group.
   5. Select the Group Type as Security and enter the Group Name.
   6. Describe the Group by describing the Group description field and click on the Members. The Add Members page is displayed.
   7. Select the checkbox for the members associated with the Group.
   8. Click on the Select button.

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Add%20member.png?width=512&#x26;height=408&#x26;name=Add%20member.png" alt=""><figcaption></figcaption></figure></div>
   9. Add the service principal app or users to the current security group based on the requirement.

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/members.png?width=512&#x26;height=110&#x26;name=members.png" alt=""><figcaption></figcaption></figure></div>

**Power BI Application Configuration**

1. **Log in with Power BI Administrator Privileges**
   1. Use an account with Power BI admin rights and enable the following settings.
2. **Enable Power BI Service Admin Settings**
   1. Access the Power BI Admin Portal.\
      **Note:** Administrative privileges are required to view tenant settings.
   2. Go to **Admin API Settings** and enable the option for service principals to use read-only Power BI admin APIs.
   3. Set the toggle to "Enabled," select the "Specific security groups" radio button, and add the appropriate security group.
   4. Navigate to Admin Portal > Tenant Settings > Developer Settings to enable these settings.
3. **Enable Embedding Content in Apps**
   1. In Admin Portal > Tenant Settings > Developer Settings, select the "Entire organization" option and enable the settings under Embed Content in Apps.

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/dev-settings.png?width=512&#x26;height=318&#x26;name=dev-settings.png" alt=""><figcaption></figcaption></figure></div>
4. **Allow Service Principals to Use Power BI APIs**
   1. In Developer Settings > Allow service principals to use Power BI APIs, select "Specific security groups" and enable the setting.

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/admin%20portal-1.png?width=556&#x26;height=388&#x26;name=admin%20portal-1.png" alt=""><figcaption></figcaption></figure></div>
5. **Allow Service Principals to Create and Use Profiles**
   1. In Developer Settings > Allow service principals to create and use profiles, select "Specific security groups" and enable the setting.

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/admin%20portal-2.png?width=561&#x26;height=377&#x26;name=admin%20portal-2.png" alt=""><figcaption></figcaption></figure></div>
6. **Admin API Settings for Service Principals**
   1. In Admin Portal > Tenant Settings > Admin API Settings, enable the setting to allow service principals to use read-only Power BI admin APIs. Select "Specific security groups" and enable the option.

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Admin-API%20settings.png?width=573&#x26;height=394&#x26;name=Admin-API%20settings.png" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
If a **Microsoft Fabric license** is in use, the setting label appears as **“Allow service principals to use read-only Fabric admin APIs”** instead of Power BI admin APIs.
{% endhint %}

7. **Enhance Admin API Responses**
   1. In Admin API Settings > Enhance admin API responses with detailed metadata, select the "Entire organization" option and enable the setting.<br>

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Enhance%20admin%20API%20responses.png?width=572&#x26;height=355&#x26;name=Enhance%20admin%20API%20responses.png" alt=""><figcaption></figcaption></figure></div>
   2. Similarly, enable the Enhance admin API responses with DAX and mashup expressions option for the entire organization.

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Enhance%20admin%20API%20responses(DAX).png?width=567&#x26;height=303&#x26;name=Enhance%20admin%20API%20responses(DAX).png" alt=""><figcaption></figcaption></figure></div>
8. **Download Reports**
   1. In Admin Portal > Tenant Settings > Export and Sharing Settings > Download Reports, select the "Entire organization" option and click Apply to allow all users to download reports.<br>

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Admin-download.png?width=565&#x26;height=284&#x26;name=Admin-download.png" alt=""><figcaption></figcaption></figure></div>
   2. Alternatively, if the **“Specific security groups”** option is selected, enter the appropriate security group. Only members of that group can download reports.
9. **Grant Access to Power BI Workspaces**
   1. Create a workspace in Power BI if there is no existing workspace to crawl in OvalEdge.
   2. To access a workspace for OvalEdge crawling, search for the workspace name, click the three dots for Workspace Settings, and select Workspace Access.<br>

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Workspace-welcome.png?width=506&#x26;height=327&#x26;name=Workspace-welcome.png" alt=""><figcaption></figcaption></figure></div>
   3. **Add Users or Service Principals:**
      1. In the Access pane, under Add admins, members, or contributors, add one of the following:
      2. The service principal (the display name of the Microsoft Entra application as shown in the application Overview tab).
   4. A security group that includes the service principal. The minimum required permission for the service principal is Member, and the maximum is Admin.
   5. From the dropdown menu, select Member or Admin, then click **Add**.<br>

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Admin-access.png?width=434&#x26;height=445&#x26;name=Admin-access.png" alt=""><figcaption></figcaption></figure></div>

For detailed guidance, refer to:

* [Power BI Embed Service Principal](https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-service-principal)
* [Power BI Service Roles in Workspaces](https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-roles-new-workspaces)

### Service User  &#x20;

**Prerequisites**

The following are the prerequisites required for establishing a connection:

* Azure Configuration
* Office 365 Configuration
* Power BI Configuration
* Service User Account with Minimum Read Permissions
* Configure Environment Variables (Optional)

**Azure Configuration**

1. **Creating an App**
   1. Sign in to the Azure portal and search for **Azure AD**. Under Manage, click **App registrations.**

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/AD_reg.png?width=244&#x26;height=312&#x26;name=AD_reg.png" alt=""><figcaption></figcaption></figure></div>
   2. Click **New registration.**

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/New-reg.png?width=560&#x26;height=79&#x26;name=New-reg.png" alt=""><figcaption></figcaption></figure></div>
   3. Provide a user-facing display name for the app, select supported account types, and set the Redirect URI as [**https://app.powerbi.com**](https://app.powerbi.com/)**.**

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Regan%20app.png?width=469&#x26;height=488&#x26;name=Regan%20app.png" alt=""><figcaption></figcaption></figure></div>
   4. Click **Register** and take note of the Directory Tenant ID and App Client ID.

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/new.png?width=497&#x26;height=159&#x26;name=new.png" alt=""><figcaption></figcaption></figure></div>
2. **Enabling API Permissions in Azure**
   1. In the app's settings, click API Permissions and then Request API Permissions.

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Request%20API%20Permissions.png?width=423&#x26;height=364&#x26;name=Request%20API%20Permissions.png" alt=""><figcaption></figcaption></figure></div>
   2. Select Microsoft APIs > Application Permissions and choose Tenant.Read.All. Ensure that admin consent is set to **YES.**

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Application%20Permission.png?width=535&#x26;height=285&#x26;name=Application%20Permission.png" alt=""><figcaption></figcaption></figure></div>
   3. Create a client secret by navigating to **Certificates & secrets,** clicking **New Client Secret,** and noting the **Secret ID** valu&#x65;**.**

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Client%20Secret-.jpg?width=466&#x26;height=234&#x26;name=Client%20Secret-.jpg" alt=""><figcaption></figcaption></figure></div>
3. **Creating a Security Group**
   1. Create a security group in Azure Active Directory. Ensure the group type is set to Security.

      <div align="left"><img src="https://support.ovaledge.com/hs-fs/hubfs/New%20group%20-.png?width=540&#x26;height=349&#x26;name=New%20group%20-.png" alt="" height="349" width="540"></div>
   2. Add the service user and the registered app to this security group.

      <div align="left"><img src="https://support.ovaledge.com/hs-fs/hubfs/security%20group.png?width=581&#x26;height=124&#x26;name=security%20group.png" alt="" height="124" width="581"></div>

**Office 365 Configuration**

**Service User Setup:** Create a new service user in Office 365 or use an existing user for configuration.

To enable Power BI Admin APIS for the created service user, there are two options:

1. Either enable the OvalEdge service user as a Power BI Administrator role, or use an existing user with the Power BI Administrator role.<br>

   <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/BI%20Administrator.png?width=497&#x26;height=256&#x26;name=BI%20Administrator.png" alt=""><figcaption></figcaption></figure></div>
2. Afterward, configure the required permissions in the Power BI Admin Portal.

**Power BI Configuration**

1. **Power BI Admin Portal Configuration**
   1. Log in to the Power BI Admin Portal using the service user credentials.\
      **Note:** Power BI Admin privileges are required to view the Tenant Settings page.
   2. Under Admin API Settings, enable the option to allow service principals to use read-only Power BI admin APIs and add the security group created in Azure.
   3. To enable the Power BI service admin setting, navigate to Admin Portal > Tenant Settings > Developer Settings.
   4. Select the "Entire organization" option and enable the settings in the Admin Portal > Tenant Settings > Developer settings > Embed Content in apps.<br>

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Dev-settin.png?width=565&#x26;height=351&#x26;name=Dev-settin.png" alt=""><figcaption></figcaption></figure></div>
   5. In Developer settings > Allow service principals to use Power BI APIs, select specific security groups, and enable the settings.<br>

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/admin%20portal-1.png?width=569&#x26;height=397&#x26;name=admin%20portal-1.png" alt=""><figcaption></figcaption></figure></div>
   6. In Developer settings > Allow service principals to create and use profiles, select specific security groups, and enable the settings.<br>

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/admin%20portal-2.png?width=586&#x26;height=394&#x26;name=admin%20portal-2.png" alt=""><figcaption></figcaption></figure></div>
   7. In the Admin Portal > Tenant Settings > Admin API settings > Allow service principals to use read-only Power BI admin, select specific security groups, and enable the settings.&#x20;

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Admin-API%20settings.png?width=512&#x26;height=352&#x26;name=Admin-API%20settings.png" alt=""><figcaption></figcaption></figure></div>
2. **Enhanced API Responses**
   1. In the Admin Portal > Tenant Settings > Admin API settings > Enable the Enhance admin API responses with detailed metadata option for the entire organization.<br>

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Enhance%20admin%20API%20responses.png?width=560&#x26;height=348&#x26;name=Enhance%20admin%20API%20responses.png" alt=""><figcaption></figcaption></figure></div>
   2. Enable Enhance admin API responses with DAX and mashup expressions for the entire organization.<br>

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Enhance%20admin%20API%20responses(DAX).png?width=565&#x26;height=302&#x26;name=Enhance%20admin%20API%20responses(DAX).png" alt=""><figcaption></figcaption></figure></div>
3. **Report Downloads**
   1. In the Admin Portal > Tenant Settings > Export and sharing settings > Download Reports, select The entire organization option, then click Apply. All the users in the organization can download the reports.<br>

      <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Admin-download.png?width=569&#x26;height=286&#x26;name=Admin-download.png" alt=""><figcaption></figcaption></figure></div>
   2. Alternatively, if the Specific security groups option is selected, enter the specific security group and click **Apply**. Then, only people in the entered group can download the reports.
4. **Power BI Workspace Configuration**
   1. **Creating a Workspace**\
      **Note**: If a workspace has already been created, this step can be skipped.
      1. Navigate to[ ](https://app.powerbi.com/)[**app.powerbi.com**](https://app.powerbi.com/)**.**
      2. The First step is to create a workspace (Premium / Non-premier ) in Power BI.<br>

         <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Create%20a%20workspace-1.png?width=351&#x26;height=512&#x26;name=Create%20a%20workspace-1.png" alt=""><figcaption></figcaption></figure></div>
      3. Click on the **Create a workspace** button.<br>

         <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Workspace%20name.png?width=427&#x26;height=456&#x26;name=Workspace%20name.png" alt=""><figcaption></figcaption></figure></div>
      4. Enter the workspace name.
      5. Click on the **Save** button in the advanced tab, select the option for **Specific users and groups**, and then enter the users and groups. <br>

         <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/advanced%20option.png?width=364&#x26;height=301&#x26;name=advanced%20option.png" alt=""><figcaption></figcaption></figure></div>
      6. Once the workspace is successfully created, search the workspace name.
   2. **Workspace Access**
      1. Once the workspace is created, search for the workspace name, click the three dots, and select Workspace Access.<br>

         <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Workspace-welcome.png?width=438&#x26;height=283&#x26;name=Workspace-welcome.png" alt=""><figcaption></figcaption></figure></div>
      2. In the Access pane, add the security group created in Azure with Contributor permissions. **The minimum permission required for the service user is Contributor, and the maximum is Admin.**<br>

         <div align="left"><figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Admin-access.png?width=321&#x26;height=329&#x26;name=Admin-access.png" alt=""><figcaption></figcaption></figure></div>

**For more detailed, refer to:**

* [Power BI Embed Service Principal](https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-service-principal)
* [Power BI Service Roles in Workspaces](https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-roles-new-workspaces)

***

Copyright © 2026, OvalEdge LLC, Peachtree Corners GA USA
