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.

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Kudoed Authors