Thursday, November 24, 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.




No comments:

Post a Comment

I will appreciate your comments !

How to enable new Microsoft teams - Public Preview!

New Microsoft Teams is just AWESOME, quick but useful post below shows how you have this preview feature to make your life EASY!  Open Micr...