# Fabric Trial

To facilitate the Power Embedded installation process, we have created this tutorial to help our customers install Power Embedded.

### Prerequisites for the installation

Since Power Embedded is a SaaS system, you will not need to hire or manage any servers, applications, or databases — you will simply use it as a service.

To set up Power Embedded at your company, the following prerequisites must be met before we schedule the installation:

* An Azure user account with permission to create Fabric or Embedded capacity.
* An Azure user account with permission to create groups and application registrations in Azure AD.
* An Azure user account with the "Fabric administrator" role to access the [Power BI administration portal.](https://app.powerbi.com/admin-portal/tenantSettings)

During the system installation meeting, held together with the client, it is required that a user with the permissions listed above be available, or that someone from the client's team, with those permissions, can share their screen and perform the actions as instructed.

### How to create the Power Embedded application in Azure AD

To register the application that will be used by Power Embedded, you will need to access [this link](https://portal.azure.com/#view/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/~/RegisteredApps).

On the screen below, click the "New registration" button.

<div align="left"><figure><img src="https://powerembedded.com.br/wp-content/uploads/2023/08/Manual-de-Instalacao-do-Power-Embedded-3.png" alt=""><figcaption></figcaption></figure></div>

Now you should choose a name for the application you will create in your Azure AD. The name is up to you.

After that, click the "Register" button at the bottom of the page.

<div data-full-width="false"><figure><img src="https://powerembedded.com.br/wp-content/uploads/2023/08/Manual-de-Instalacao-do-Power-Embedded-5.png" alt=""><figcaption></figcaption></figure></div>

After creating this application, you will be directed to the overview screen of this user.

Copy the value of the "Application (client) ID" field and save it in a notepad. This key is what you will paste in the "**Power BI Client ID**" field in the Power Embedded organization configuration.

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2023/08/Manual-de-Instalacao-do-Power-Embedded-6.png" alt=""><figcaption></figcaption></figure>

Now click on "Certificates & secrets" and then click the "New client secret" button.

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2023/08/Manual-de-Instalacao-do-Power-Embedded-7.png" alt=""><figcaption></figcaption></figure>

On the new screen, type a description for this secret (according to your preference) and select the expiration period for this secret.

It is recommended to select **24 months**, so you only need to worry about expiration after two years. **After the defined period ends, the secret will expire and the system will stop working**, requiring you to generate a new secret and update it in **Power Embedded**.

Now click the "**Add**" button at the bottom of the page

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2023/08/Manual-de-Instalacao-do-Power-Embedded-8.png" alt=""><figcaption></figcaption></figure>

Copy the generated "**Value**" field by clicking the copy button next to this key.

Save and keep this key safe, as this will be the ONLY time you can see it. If you lose this key, it cannot be recovered: you will need to generate a new secret and update it in the system.

The copied value should be pasted in the "**Power BI Client Access Key**" field on the Power Embedded configuration screen

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2023/08/Manual-de-Instalacao-do-Power-Embedded-9.png" alt=""><figcaption></figcaption></figure>

### Synchronize users and groups from Azure AD (Entra ID)

To integrate Power Embedded with Azure AD (Entra ID) and import users and groups:

On the same application registration screen, click "API permissions" and then click "Add a Permission".

![](https://powerembedded.com.br/wp-content/uploads/2024/07/Permissoes-de-APIS.png)

On the next screen, select the "Microsoft Graph" option.

![](https://powerembedded.com.br/wp-content/uploads/2024/07/Permissoes-aplicativo.png)

Then select the "Application permissions" option.

![](https://powerembedded.com.br/wp-content/uploads/2024/07/Microsoft-Graph.png)

On the next tab, search for "Directory" and select the first option "Directory.Read.All" and click "Add permissions".

![](https://powerembedded.com.br/wp-content/uploads/2024/07/Directory-1.png)

To finish, simply grant administrator consent by clicking "Grant admin consent for".

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2024/07/Conssentimento-admin.png" alt=""><figcaption></figcaption></figure>

Done! When you finish the next steps, you will be able to import users and groups from Azure AD (Entra ID) to Power Embedded.

### Adding the Power Embedded user to a new AD group

To grant permissions in the Power BI Administration Portal for the Service Principal you just created, it must be part of an Azure AD (Entra ID) security group.

To do this, access [this link](https://portal.azure.com/#view/Microsoft_AAD_IAM/GroupsManagementMenuBlade/~/AllGroups) and click the "New group" button.

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2023/08/Manual-de-Instalacao-do-Power-Embedded-11.png" alt=""><figcaption></figcaption></figure>

Select the "Security" option in the "Group type" field and type a name of your choice for this group we are creating.

Click on the "Owners" link and add the people who will be responsible for Power Embedded.

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2023/08/Manual-de-Instalacao-do-Power-Embedded-12.png" alt=""><figcaption></figcaption></figure>

Click on the "No members selected" link in the "Members" category.

On the screen that opened, type the name of the Service Principal you created to filter. Select the Service Principal from the list and click the "Select" button at the bottom of the page.

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2023/08/Manual-de-Instalacao-do-Power-Embedded-13.png" alt=""><figcaption></figcaption></figure>

Now that you have selected the member to add to this new group, click the "Create" button at the bottom of the page.

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2023/08/Manual-de-Instalacao-do-Power-Embedded-14.png" alt=""><figcaption></figcaption></figure>

### How to grant the necessary permissions in the Power BI Administration Portal

Using a user with Power BI administrator permission, access [this link](https://app.powerbi.com/admin-portal/tenantSettings).

Scroll down the page until you find the "Developer Settings" section (or search for "api" in the search bar on the right).

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2024/03/Habilitar-Power-Embedded-no-Fabric.png" alt=""><figcaption></figcaption></figure>

Check the "Service principals can use Fabric APIs" option.

For security reasons, check the "Specify security groups" option in the "Apply to:" section and select the security group we created at the beginning of this topic (in my case, "PowerEmbedded-Group").

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2024/03/Habilitar-Power-Embedded-no-Fabric2.png" alt=""><figcaption></figcaption></figure>

Click the "Apply" button.

Scroll down a bit more on the page and repeat the same process for the item "Service principals can access read-only admin APIs" and "Enhance admin API responses with detailed metadata" in the "Admin API Settings" section.

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2024/03/Habilitar-Power-Embedded-no-Fabric5.png" alt=""><figcaption></figcaption></figure>

Refresh the page and now the option "Enhance admin API responses with DAX expressions and mashup" will be available to be checked. Repeat the same process for this permission.

Still in the "Developer Settings" category, or by searching for "embed" in the search bar, check the "Embed content for customers" option and add the security group you created in the "Specific security groups" filter in the "Apply to" option.

If this setting is already enabled and allowed for the entire organization, which is the Power BI default, you can leave it as is, if the client agrees. Changing this may cause issues in other processes if something requires this permission.

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2024/03/Habilitar-Power-Embedded-no-Fabric4.png" alt=""><figcaption></figcaption></figure>

Now search for the word **"Export"** in the search bar located in the upper right of the screen.

Find the **"Export and sharing settings"** section and check whether Power BI is allowing the following exports:\
\- Export to Excel (Used by the "Export data" menu in visuals)\
\- Export to .csv (Used by the "Export data" menu in visuals)\
\- Export reports as PowerPoint presentations or PDF documents (Export button)\
\- Export reports as image files (Export button)

\\

And finally, in the **"Integration settings"** section, do the same process for the **"Allow XMLA endpoints and Analyze in Excel with on-premises semantic models"** setting, which is used to allow automatic listing of RLS roles.

If this setting is already enabled and allowed for the entire organization, which is the Power BI default, you can leave it as is, if the client agrees. Changing this may cause issues in other processes if they are using something that requires this permission

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2024/05/Power-Embedded-Instalacao-Permitir-pontos-de-extremidade-XMLA-e-analisar-no-Excel-com-modelos-semanticos-locais-2.png" alt=""><figcaption></figcaption></figure>

Done! Now the Portal has access to your Power BI environment.

### First access to the Administrative Portal

Access the administrative area of the Portal by accessing [this link](https://admin.powerembedded.com.br/), logged in with a user with "Azure Global Administrator" permission.

You will authenticate with your Microsoft account and as soon as you finish logging in, you will see a permission request screen in your Azure AD.

**Check the "Consent on behalf of your organization" option and click the "Accept" button.**

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2023/08/Manual-de-Instalacao-do-Power-Embedded-4.png" alt=""><figcaption></figcaption></figure>

Forgot to check the "**Consent on behalf of your organization**" option or performed the installation with an account that was not an administrator?

<details>

<summary>Click here to see how to grant this permission manually</summary>

If you accessed the administration portal using a user without the required permissions, the screen above may not appear for you. Instead, the following screen will appear when you or another user tries to log in to the administrative area.

<img src="https://powerembedded.com.br/wp-content/uploads/2023/10/Enterprise-Application-Consentir-App-como-Administrador.png" alt="" data-size="original">

If this happens, you will need to authorize the Power Embedded application (powerportal.cloud) on behalf of the organization, using a user with global permissions in Azure AD.

To do this, click the "[Enterprise Applications](https://portal.azure.com/#view/Microsoft_AAD_IAM/StartboardApplicationsMenuBlade/~/AppAppsPreview/menuId~/null)" link in Azure AD (Entra ID).

<img src="https://powerembedded.com.br/wp-content/uploads/2023/10/Aplicativos-empresariais.png" alt="" data-size="original">

Find and click on the "powerportal.cloud" application.

[![](https://powerembedded.com.br/wp-content/uploads/2023/10/Aplicativos-empresariais-powerportal.cloud_.png)](https://powerembedded.com.br/wp-content/uploads/2023/10/Aplicativos-empresariais-powerportal.cloud_.png)

Click the "Permissions" menu in the left panel and then click the "Grant admin consent for ..." button and authorize the application.

[![](https://powerembedded.com.br/wp-content/uploads/2023/10/Aplicativos-empresariais-Permissoes-powerportal.cloud_.png)](https://powerembedded.com.br/wp-content/uploads/2023/10/Aplicativos-empresariais-Permissoes-powerportal.cloud_.png)

</details>

After confirming the permissions, you will be redirected to the system and will need to create the new organization.

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2023/08/Manual-de-Instalacao-do-Power-Embedded-2.png" alt=""><figcaption></figcaption></figure>

On this screen, you can configure the following settings:

* **Name:** This is the name of your company. The system will retrieve the name registered in the Azure Tenant, but you will be able to change it on this screen or later through the system settings page.
* **Power BI Client ID:** This is the ID of the Service Principal that will be created to integrate Power Embedded with your Azure Active Directory (we will explain more about this below).
* **Power BI Client Access Key:** This is the secret generated for the Service Principal (we will explain more about this below).
* **Custom Domain:** This is your company's domain (without www or https). This field will be used to create a custom access URL for accessing reports (e.g., reports.yourcompany.com.br).

With the Client ID and Secret Value that you obtained at the beginning of the installation and noted in a notepad, we will now use them on the Power Embedded organization configuration screen.

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2023/08/Manual-de-Instalacao-do-Power-Embedded-10-1.png" alt=""><figcaption></figcaption></figure>

Click the "Create Organization" button and you will be able to start using the Portal.

### How to integrate the Portal with the Power BI Workspace?

To import Power BI reports to Power Embedded, you will need to do three things in the workspace:

1. Enable the Fabric trial period (if you haven't already done so).
2. Change the Workspace capacity to Fabric capacity.
3. Add the Service Principal created (Power Embedded user) as administrator of the workspaces from which you want to import reports (can be more than one).

To enable the Fabric trial period, click on your photo in the Power BI menu.

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2024/03/Habilitar-Power-Embedded-no-Fabric11.png" alt=""><figcaption></figcaption></figure>

Remember that only 6 people in the organization can have started the Fabric trial, and once a person has activated the trial, it is not possible to reallocate this capacity to another person.

To change the Workspace capacity to Premium (Fabric) capacity, access the workspace, click the 3 dots, and select "Workspace Settings".

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2024/03/Habilitar-Power-Embedded-no-Fabric6.png" alt=""><figcaption></figcaption></figure>

On the screen that opened, click the "Premium" menu, then choose the "Embedded" license and in the "License mode" field, select the "Trial" resource.

Click the "Apply" button just below.

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2024/03/Habilitar-Power-Embedded-no-Fabric7.png" alt=""><figcaption></figcaption></figure>

From this moment on, this workspace is now at the Premium capacity of Fabric. If you pause this resource, the Workspace will become inaccessible, even using a Pro account and accessing directly through the portal.

The last step now is to add the Service Principal user to the Workspace.

To add the Service Principal created as an administrator of a workspace, access the workspace, click the 3 dots, and select "Manage access".

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2024/03/Habilitar-Power-Embedded-no-Fabric8.png" alt=""><figcaption></figcaption></figure>

Click the "+ Add people or groups" button.

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2024/03/Habilitar-Power-Embedded-no-Fabric9.png" alt=""><figcaption></figcaption></figure>

Search for the name of the application created earlier (PowerEmbedded-App) and remember to change the access level to "Administrator". After that, click the "Add" button.

<figure><img src="https://powerembedded.com.br/wp-content/uploads/2024/03/Habilitar-Power-Embedded-no-Fabric10.png" alt=""><figcaption></figcaption></figure>

Done! Now Power Embedded has access to this workspace. Repeat this for all Workspaces from which you want to import reports.


---

# 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.powerembedded.com/technical-documentation/installation/fabric-trial.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.
