cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Access to the resource is forbidden (Win 10)

Hi, 

From one PC with Windows 7, I can connect easily on my OData database

From another PC with Windows 10, I try the same connection but I always get the error:  Access to the resource is forbidden

What could be the issue ?

 

Thanks

6 REPLIES 6
Highlighted
Advocate I
Advocate I

Re: Access to the resource is forbidden (Win 10)

Hi @gdillen,

 

Is the computer and the data source you're doing this on, located on a corporate network.

And does the account he's using have access to the data source you're trying to access.

 

Usually when you see this kind of error for an OData source, the reason is usually an actual permission/authentication error.

 

 

 

We discussed this issue in the "Global Power BI - Forum Aid" event with @RobJo and @edejes2.

Come join us at the new pbiusergroup.com board for more info & help



Please mark my reply as the solution if it help you out.
Also check out www.globalpowerbi.com for info on Global Power BI, a Virtual User Group.
Highlighted
Helper III
Helper III

Re: Access to the resource is forbidden (Win 10)

Hi Jan,

 

My PCs are not connected on a network. They are stand alone.

On the portable PC with Windows 10, I used to make OData connections from Excel. They worked fine some months ago.

To day, with this same PC, in Excel, I get exactly the same credential dialog box as Power BI Desktop (same look) and unfortunatly the same error : Access to the resource is forbidden.

NB: I connect myself on the 2 PCs with the same name but not the same password.

 

Any idea?

 

Thanks

Highlighted
Advocate I
Advocate I

Re: Access to the resource is forbidden (Win 10)

Where is the Excel file located?

As you describe it, it seems that you used to have access to the file but don't have rights to access it anymore.

 



Please mark my reply as the solution if it help you out.
Also check out www.globalpowerbi.com for info on Global Power BI, a Virtual User Group.
Highlighted
Helper III
Helper III

Re: Access to the resource is forbidden (Win 10)

The Excel file is on the hard disk of my laptop. I can access it, and I can refresh some previous OData queries. But I cannot create a new one : Access to the resource is forbidden!

Highlighted
Community Support
Community Support

Re: Access to the resource is forbidden (Win 10)

Hi @GD61,

 

Which data source did you connect to use OData, it's on-premise or online data source?

 

As you mentioned in Excel can get data use OData before, was there any changes happening in data source or Windows 10?

 

From "I connect myself on the 2 PCs with the same name but not the same password.", why don't you use the same password? Please double check if the credential used in Windows 10 desktop really have permission to access data source.

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Helper III
Helper III

Re: Access to the resource is forbidden (Win 10)

The data source is online.

But today, while I did nothing special, the connection from excel to the data source is working fine Smiley Mad 

Mystery of computing?

Helpful resources

Announcements
Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Don't miss the Power BI Dev Camp this week!

August Community Highlights

Check out a full recap of the month!

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Top Kudoed Authors