Changing the Application Password
Expired Password or Access Token Validation Error
If you encountered the error below when trying to access the administration portal, or an error related to the Power BI service user password in the reports portal, do not worry. This occurred because the Power BI service user's password expired or was changed in the Azure portal.

Another very common error message when the password expires is when a user tries to open a report in the visualization portal and encounters the following error message:

The Settings screen will alert you when this password is about to expire:

The Power Embedded home screen also shows an alert when this password is close to expiring:

To resolve the issue, simply generate a new password in the Azure portal and update the password on the Power Embedded settings screen.
Follow the step-by-step guide below to complete the process:

To complete this process, you will need to perform the following steps:
Access the Azure Portal. Click this link to access the Azure portal.
Search for the Power Embedded Application (PowerEmbedded-App).
Click on "Certificates & secrets" in the sidebar menu, then click on "New client secret".
Define a description and expiration date for this key.
Copy the new key and securely store it in a password vault, as it cannot be recovered again.
In Power Embedded, access the "Settings" page, paste the copied value into the "Power BI Client Access Key" field, and click Save.
How to Create an Application Password in the Azure Portal
Step 1: With the Azure portal open, go to the home screen and navigate to "App registrations". Search for the user created during installation.
By default, the suggested name is PowerEmbedded-App. Click on it when you find it.

Step 2: On this screen, click on "Certificates & secrets" and then click on "New client secret" to create a new client secret.

Step 3: In the new screen that opens, enter a description for this secret (according to your preference) and select the validity period for this secret.
The recommendation is to choose 24 months so you only need to worry about this expiration after 2 years (Yes, after the chosen period, this secret will expire and the system will STOP working. You will need to generate a new secret and update it in Power Embedded).
Now click the Add button at the bottom of the page.

Step 4: Now copy the "Value" field that was generated. There is a copy button next to this key.
Note and securely store this key, 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.
This value that you copied should be pasted into the "Power BI Client Access Key" field on the Power Embedded configuration screen.

Configuring the Application Password in Power Embedded
Step 5: Go to the administration portal and add the copied value to the "Power BI Client Access Key" field.

Once done, the portal will return to normal operation.
Last updated