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,
Hi Yuji,
Can you elaborate your question?
Its not clear.
Girish S.
Do you mean looking for the standard tables that store 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
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 724 Most Valuable Professional
André Arnaud de Cal... 619 Super User 2025 Season 2
Sohaib Cheema 400 User Group Leader