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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Table stored security privilege

(0) ShareShare
ReportReport
Posted on by 4,131

Hi experts,

I would like to get a list of the missing privileges for the custom menu items. Is there any table I can get the information from?

Thanks,

I have the same question (0)
  • GirishS Profile Picture
    27,827 Moderator on at
    RE: Table stored security privilege

    Hi Yuji,

    Can you elaborate your question?

    Its not clear.

    Thanks,

    Girish S.

  • huijij Profile Picture
    19,811 on at
    RE: Table stored security privilege

    Hi Yuji,

    Do you mean looking for the standard tables that store security privilege?

    4380.Capture.PNG

  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at
    RE: Table stored security privilege

    Hi Yuji, If I understand your question correctly, you want to get all custom menu items which are not associated with a Security Privilege. You can try this table 'SECURITYRESOURCEPRIVILEGEPERMISSIONS' and Data Entity 'System Security Permissions'.

    Also note that in SECURITYRESOURCEPRIVILEGEPERMISSIONS table, you will find integer values in SecurableType field. In this field, value 1 is for Display menu items, 2 is for Output menu items and 3 for Action Menu Items.

    You can write a x++ or SQL script to achieve your desired results.

    For reference community.dynamics.com/.../in-x-bring-the-menu-item-names-from-entry-points-against-its-security-privilege-through-code-in-d365

  • Verified answer
    André Arnaud de Calavon Profile Picture
    300,714 Super User 2025 Season 2 on at
    RE: Table stored security privilege

    Yuji,

    As you mentioned the tag "Development / Customization / SDK", I do assume you are using Visual Studio. When you build your model and enable the option Run Best Practice Checks, menu items without a privilege will be listed in the output. This is also valid for data entities, without a privilege, a privilege not linked to a duty and a duty not linked to a role.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 724 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 619 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 400 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans