"Access to the resource is forbidden" error troubleshooting

The error "Access to the resource is forbidden" arises due to the wrong credentials used during the authentication. Follow the steps below to troubleshoot it.

  1. Click the File tab at the top left of the 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. Confirm clearing permissions by clicking Delete

  7. Press the Close button.

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

To copy credentials easily use the 'Copy' icon next to the credentials in the Settings tab.