# Power BI service user password has expired

<div align="left"><figure><img src="/files/zAtjzVNKEc9oUoQyIQlP" alt=""><figcaption></figcaption></figure></div>

During the installation of Power Embedded, one of the steps was to create a service user on the Entra ID page on the Azure portal, which communicates between the system and Power BI, and an expiration time was set for this user's password.\
When this password expires, that's when the error above appears in Power Embedded, as it is no longer possible to establish this communication.

The Power Embedded home screen also shows some alerts when this password is about to expire.

The Settings screen will also alert you when this password is about to expire.\
\
If your Power Embedded password has expired or is about to expire, follow these 6 steps below to create a new service user password:

### **1.** Access the Application Register in Entra ID

To create a new application password that will be used by Power Embedded, you will need to go to [esse link aqui](https://portal.azure.com/#view/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/~/RegisteredApps).

### **2.** Find the user used in Power Embedded.

On the application registration page in the “All applications” tab, search for the user created when Power Embedded was installed (The default user name is “PowerEmbedded-App”).\
When you find it, click on the name of the application.

{% hint style="info" %}
If you are NOT using the default user name (PowerEmbedded-App) and can't remember which user name you are using, go to the Power Embedded Settings page, copy the ID in the “Power BI Client ID” field and search for that ID instead of the application name.
{% endhint %}

### **3.** Access the certificates and secrets page

Now click on “Certificates & secrets” and then “New client secret” to generate a new password.

### **4.** Generate a new password

On the new screen that opens, enter a description for this secret (according to your preference) and select the validity of this secret (the recommended is 24 months).\
Now click on the “Add” button at the bottom of the page.

### 5. Copy and save the generated password

Now copy the generated password in the “Value” column. There is a copy button next to this key.

{% hint style="warning" %}
Anote e guarde bem essa chave, pois essa será a ÚNICA vez que você poderá vê-la. Caso você perca essa Make a note of it and save it well, as this is the ONLY time you will ever see it. If you lose this key, you won't be able to recover it: You will need to generate a new secret and update it in the system again.
{% endhint %}

### **6.** Update password in Power Embedded

With this value copied, go to the Power Embedded administration portal under Settings and paste it into the “Power Bi Client Access Key” field, then click on the “Save” button.

Once you have done this, the portal will work normally.


---

# 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/reports-portal/most-common-issues/power-bi-service-user-password-expired.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.
