cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mdoll
Frequent Visitor

EXECUTE Permission denied

I saw a similar post...but my issue is slightly different.

I am getting the failure on only one of two stored procs.

The service account is a dbo to the database

Other proc or views access tables from the ERP database using the same service account with no errors.

 

The EXECUTE permission was denied on the object 'proc_rpt_currencyexchangerates', database 'EF_DW', schema 'dbo'.

 

Microsoft.Data.Mashup.ValueError.Number:

229

1 ACCEPTED SOLUTION
hugoberry
Responsive Resident
Responsive Resident

Have you tried specifically granting EXEC rights to that service account in SQL?

 

USE EF_DW
GO
GRANT
Execute ON [dbo].proc_rpt_currencyexchangerates TO 'domain\service_account'

 

View solution in original post

4 REPLIES 4
v-qiuyu-msft
Community Support
Community Support

Hi @mdoll,

 

Which kind of database did you access in ERP system? From the error message, the issue occurs because the service account doesn't have execution permission on the object 'proc_rpt_currencyexchangerates'. You need to check the permission firstly on ERP side.

 

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.

Thanks everyone.....because of permissions granted to the service account, we didn't think we had to explicitly give it EXECUTE....but you were right...for whatever reason we have to.

Thanks for the response.

 

Hello,

I know this is marked solved, but I am running into a similar issue and just wondered where the execute permissions need to be applied. I have my data connection as noted here and I'm getting the same "execute permission denied".

 

Is this something I can fix within my desktop file or do I need our administrator to modify something his end?

 

 

Thanks so much.Capture.JPG

hugoberry
Responsive Resident
Responsive Resident

Have you tried specifically granting EXEC rights to that service account in SQL?

 

USE EF_DW
GO
GRANT
Execute ON [dbo].proc_rpt_currencyexchangerates TO 'domain\service_account'

 

View solution in original post

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Kudoed Authors