Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Security role issue in AX2012

(0) ShareShare
ReportReport
Posted on by

Hi All,

We are facing an issue with one of the Security role, when we assign the role to our self we are able to proceed with the functionality, but when we assign the same role to a user, it is not working. The role is a customized role.

we have cleared the cache, deleted the data from "SysLastValue" table, but still, the user is not able to perform using the role.

Please advise us how we can resolve this issue.

Regards,

Akbar

*This post is locked for comments

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,516 Super User 2025 Season 1 on at
    RE: Security role issue in AX2012

    Hi Akbar,

    You mentioned that it is working when the system administrator role has been assigned to the user. Do you have global address book security enabled in your environment? If so, check if this user is assigned to the correct teams for accessing party and party related data. Can this user find the data via the user interface?

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: Security role issue in AX2012

    Hello Akbar,

    Another thing that you can check is the security development tool for AX2012. It might help you getting some insights why the other users have problems.

    Best regards,

    Ludwig

  • Suggested answer
    guk1964 Profile Picture
    guk1964 10,877 on at
    RE: Security role issue in AX2012

    Do you get any error message when the user tries to use this logic or is that nothing happens?

    Typically I would expect an error message like "Access denied to method transfer in class....

    Have you updated System Admin-security role- override permissions?

    ( Click Add server methods. Type in the class name you want to add and the server method name. Click filter. Select the available server method and click OK. The class will be added and you can locate it by expanding the server/method node. Then try again.)

  • Akbarpasha Profile Picture
    Akbarpasha on at
    RE: Security role issue in AX2012

    Hi Andre,

    The user in question and we have assigned the same role which worked for us, not for the user, but other users having different roles, extra roles based on their work and they are performing fine. We cannot assign the extra role for the user in question as the role is working fine for us - without Admin role.

    Regards,

    Akbar

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,516 Super User 2025 Season 1 on at
    RE: Security role issue in AX2012

    Hi Akbar,

    When testing this feature, are the roles assigned to 'our self' users and the normal users the same? Or are there differences?

  • Akbarpasha Profile Picture
    Akbarpasha on at
    RE: Security role issue in AX2012

    Hi Andre,

    We are able to test with the same role(without Admin role) in a lower environment. Requester's email address is not getting picked up when performing the auto email functionality. Email is getting picked up from workers form. The code is working fine for all the purposes(HR-->Workers, setup - edit contact information) except the purpose "Home".

    6254.email.png

    Please advise us.

    Regards,

    Akbar

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,516 Super User 2025 Season 1 on at
    RE: Security role issue in AX2012

    Hi Akbar,

    What do you mean with ourself and what is the difference with a user? When testing the role with 'our self', was the system administrator role assigned?

    Can you tell what is not working? Do you miss menu items or probably a form is showing different records?

  • Akbarpasha Profile Picture
    Akbarpasha on at
    RE: Security role issue in AX2012

    Hi Ludwig,

    In lower environment, it is working for us but not for the user. If we assign the Admin role to the user then the user can perform, the same functionality other users can perform having the higher roles compare to the user in question but we cannot assign the higher role to the user in question.

    Functionality : (customized) it is an auto-email functionality when the user performs the PO Receipting, email should go to the requester/Vendor of the PO.we can perform the same in the lower environment, but user not.

    Regards,

    Akbar

  • Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: Security role issue in AX2012

    Hi,

    Can you provide an example where the security role setup is working for you but not for your user?

    Many thanks,

    Ludwig

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,387 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans