How to fix the "Access to the resource is forbidden" error?

Some of users describe getting the Access to the resource is forbidden error message when connecting Power BI with data resources.


Reason: Wrong credentials. During the first connection wrong credentials were provided and saved for Data Source.


  1. Click the File tab at the top left of Power BI Desktop.

  2. Click Options and settings on the menu.

  3. Select Data Source Settings.

  4. Select the data source the “Access to the resource is forbidden” error arises for.

  5. Select the Clear Permissions option on the drop-down menu.

  6. Press the Close button.

Thereafter, you can re-enter the valid credentials when trying to connect the required data source through the Basic authentication.