AX 2012: Access Denied: ***Controller

AX 2012: Access Denied: ***Controller

MCP · Azure DevOpsYour delivery board, readable by an agentMCP · DataverseOne consent, and the data layer opensMCP · Dynamics 365 F&OConnecting F&O to an agent Microsoft hasn’t documented
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.




Previous article← AX 2012: StrFind and StrScan functions
Discussion

Ask a question or leave feedback

This is a review interaction. The WordPress version will store, thread and moderate comments.

Thanks — submitted for moderation in this review.
Search the whole site · Ctrl/⌘ + K