Migration
To simplify the configuration of Power Embedded, we have prepared a script that automates the process of importing users, RLS, and Power BI reports into Power Embedded in a simple and easy way.
Requirements
To successfully execute the migration process, the following permissions must be enabled:
Instructions
With the necessary permissions enabled, simply follow the step-by-step process below.
Go to the Power Embedded administration portal, navigate to the migration menu, and follow these steps:
Step 1: Generate the access tokens using the button below and copy them. The generated token will be valid for only 1 hour.

Step 2: Open the PowerShell script available in the link on this page, copy it, and paste it into the PowerShell console.
Step 3: Replace the script variables with their respective values:

Power BI Client ID: Access the Power BI Embedded Administration Portal > Settings > “Power BI Client ID” field.

API Key: Access the Power BI Embedded Administration Portal > Settings > “API Key” field (click the red icon to generate the key).

PBI Token: Key generated in the migration menu.

AD Token: Key generated in the migration menu.

With all the fields filled in, simply run the script in PowerShell.

Once the script is completed, all reports, users, and RLS will be successfully imported into Power Embedded.
Atualizado