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

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

 

The first step is to determine what exactly causes the problem?

  • SSO enabled. While internal Jira users are able to authenticate on Power BI Desktop, SSO users are receiving authentication errors. Try solution.

  • Wrong credentials. During the first connection, wrong credentials were provided and saved for Data Source. Try solution.

  • Captcha at Jira’s side. A rare case that may arise after several unsuccessful attempts to access the Data Source from Power BI Desktop providing the wrong password. Try solution.

How to fix the “Access to the resource is forbidden” error if wrong credentials were provided?

  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 Basic authentication.

 

How to fix the “Access to the resource is forbidden” error if a captcha appeared?

  1. Log out from Jira and try to login again

  2. Confirm Captcha during the login if present.

  3. Alternatively, Jira Admin can always check and confirm the captcha under the User Management admin section.

Thereafter, provide valid credentials when trying to connect the required data source through Basic authentication.