Access denied: SysOperationServiceController

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.


Leave a Reply to wojzeh Cancel reply

Your email address will not be published.