cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GD61 Member
Member

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
JanMulkens
Advisor

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.
GD61 Member
Member

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

JanMulkens
Advisor

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.
GD61 Member
Member

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!

Moderator v-qiuyu-msft
Moderator

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
GD61 Member
Member

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
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 55 members 775 guests
Please welcome our newest community members: