Friday, November 25, 2016

AX 2012: Access Denied: ***Controller

Recently I came across the following exception while opening batch job via a menu item which has been written using sysOperation framework. It was happening only with non-admin users so the first thing I could think of permission/access issue.




















I checked all properties on menu item, everything seems to be set properly as required.


















Solution: 
Created a new server method under security privilege which is created for menu item used to called this import routine. 

Select required class, Under method dropdown type your required method [by default it list static methods], and set EffectiveAccess to Invoke.