Access to the resource is forbidden error in Power BI

This Power BI article will explain to you how to resolve the “Access to the resource is forbidden” issue while passing the site URL in Power BI desktop.

If you are new to Power BI, read an article on Getting started with Microsoft Power BI Tool.

In the Power BI desktop I have opened Get Data -> Online Service -> SharePoint Online List. One pop up window will open asking for site URL.

access to the resource is forbidden power bi
access to the resource is forbidden power bi

When we are passing the site URL and click on OK. We will get an error as:

Unable to connect. We encountered an error while trying to connect. “Access to the resource is forbidden”.

access to the resource is forbidden power bi
access to the resource is forbidden power bi

Access to the resource is forbidden error in Power BI

In the Power BI desktop Click on “Edit Queries” from the ribbon then select on “Data source settings”.

power bi access to the resource is forbidden
power bi access to the resource is forbidden

Select on the site URL then click on “Edit Permission” in the Data source settings page.

power bi access to the resource is forbidden
power bi access to the resource is forbidden

Click on Edit.

power bi access to the resource is forbidden
power bi access to the resource is forbidden

Select on Organizational account then click on Sign in.

access to the resource is forbidden power bi
access to the resource is forbidden power bi

Pick an account. And double click on it.

power bi access to the resource is forbidden
power bi access to the resource is forbidden

Now when I am trying to give the site URL in getting data no error is coming. In the Navigator page, all the site list are coming.

power bi access to the resource is forbidden
power bi access to the resource is forbidden

You may also like the below Power BI tutorials:

The Power BI article explained to us how to overcome Power BI error “access to the resource is forbidden”.

  • Thanks a lot. The above mentioned resolution perfectly worked for me while troubleshooting same issue.

  • Thank you Bijay for such a nice explanation with step by step process and the most valuable part is explanation along screenshots

  • Hi am facing the same issue while trying to connect Google Analytics to Power BI. The above steps are not helping, can you please guide me? Thanks!

  • >