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.


  1. I have the same property values, but still i face this error.

    Even when i try to run the controller main method from code editor it gives me the same error.

  2. Hi I follow your post to try to solve the problem, but the error persist i got the same error when the batch runs in AX 2012

  3. I have to add a
    Permissions->ServerMethods->YourClassOperation.process in the privilege,
    where you placed a MenuItem

Comments are closed.