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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to add menu item as entry point of Security Privileges based on excel file ?

(0) ShareShare
ReportReport
Posted on by 309

Hi guys,

If I have a list of menu item names in excel file, can X++ help me to read this file and add those menu items to my existing Privileges ?

Might ask also how to do it ?

Thanks in advance,

I have the same question (0)
  • Suggested answer
    huijij Profile Picture
    19,811 on at

    Hi Axel,

    Please check the example of X++ classes that can be used to read XLSX and CSV files. You can also check the logic used on the form Security configuration. It also gives an overview of menu items per privilege.

    community.dynamics.com/.../how-to-read-excel-and-csv-files-in-d365fo-using-x

  • André Arnaud de Calavon Profile Picture
    300,977 Super User 2025 Season 2 on at

    Hi Axel,

    You can have a look at the form Security configuration and the related coding to learn what classes to call to create and maintain privileges and link menu items with certain permissions. You would need to do a kind of reverse engineering and understand the coding. There are some DLLs used in the background to manage this all.

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 672 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 289 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans