web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / Goshoom. NET Dev Blog / Access denied: SysOperation...

Access denied: SysOperationServiceController

Martin Dráb Profile Picture Martin Dráb 238,745 Most Valuable Professional

I unexpectedly got Access denied: SysOperationServiceController when trying to call a method through the SysOperation framework in Dynamics AX 2012. It was just a piece of research code and I didn’t want to bother with my own controller, therefore I created and executed a menu item with the following properties:

Property Value
ObjectType Class
Object SysOperationServiceController
EnumTypeParameter SysOperationExecutionMode
EnumParameter Synchronous

The error message is a bit misleading, so it took me a minute to realize that I forget to define which method to call. Setting the Parameters property to MyClass.MyMethod did the job.


This was originally posted here.

Comments

*This post is locked for comments