web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Access denied when calling from a menuaction sysoperation based framework with different user class system administrator.

(0) ShareShare
ReportReport
Posted on by

Dear, based on the framework sysoperation, create two classes for the model and one for the driver. Also I create the menuitem type action in which I filled out the information.

ObjectType: Class
Object: smm_mfvController
EnumTypeParameter: SysOperationExecutionMode
EnumParameter: Asyncronous

and all properties "permission" are by default "Auto" except linkedpermissionobject and linkedpermissionobjectchild that are empty.

I added a menu within SalesandMarketing and then added a menu entry calling menuaction that I generated.

In the AX security tool, I searched the menu and add the permission "full control" to a privilege. This is assigned to a role which is associated to a specific user.

When running on the menu, from system administrator user I have no problems working properly, but when trying to run from the other user, "Access Denied: smm_mfvController" appears.

What I can fail to pass this access error?

thank you

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at
    Finally I was researching as I am novice at this, I found I missed create a permission code to create the class. With this I could assign it to the menu and run this process there were users.

    I relied on dynamicsaxinsight.wordpress.com/.../ax-2012-access-denied-sysoperationservicecontroller
  • Suggested answer
    Randy33 Profile Picture
    47 on at
    Posting what worked for me.  This was a very unusal bug.  
     
    Scenario: 
    - Had a menu item that was linked to a controller class.  The controller class inherited from SysOperationServiceController.  
    - When one particular user tried to open the menu item: 
    • In DataArea A the menu opened OK.
    • In DataArea B the menu threw error about "Access Denied: XXX Controller"
    - Other users with similar role permissions could open the menu item in both DataArea A and DataArea B OK.  
     
    Resolution steps: 
    1. Granted class methods for (only) the controller class into the user permission role.  
    - This did not resolve the issue.  
     
    2. Restarted and did a full CIL gen on each AOS service.  
    - This resolved the error in the "security entry point permission" emulator module.  
    - However, user still experienced the same error when opening the menu item in DataArea B.  
     
    3. Copied over "all" related class methods into the permission role->server methods node.  There were eight additional related classes that contained many methods.  I copied over all methods into the role.  
    - This resolved the issue.  
     
    Note: I wouldn't say step 03 resolved the bug due to lack of permissions.  Instead, the actions in step 03 may have given AX a "kick" to take a fresh look at the user (speculation).  
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Sagar Suman Profile Picture

Sagar Suman 2 Super User 2026 Season 1

#1
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#1
Pratik Bhosle Profile Picture

Pratik Bhosle 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans