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 :
Dynamics 365 Community / Forums / Finance forum / How to export security...
Finance forum

How to export security role, duties and privileges to an excel sheet

(0) ShareShare
ReportReport
Posted on by 150

Hello All,

Is there any data entity available in D365 to export all Roles, duties and privileges? If no data entity then any other way to export all these to a excel sheet?

Thanks in advance !!!

I have the same question (0)
  • Suggested answer
    Mea_ Profile Picture
    60,284 on at

    From Visual Studio you can export all existing security objects details into Excel alexdmeyer.com/.../security-reporting-for-dynamics-365-for-operations-in-the-aot this gives you details about security defined in code. User can override it from UI, these changes are stored as data and you can export them into XML kaya-consulting.com/move-security-configurations-across-dynamics-365-environments or via data entities ievgensaxblog.wordpress.com/.../role-based-security-in-dynamics-365-for-operations-export-security-changes-and-security-diagnostics-tool

  • Suggested answer
    amigup1982 Profile Picture
    150 on at

    Hello Ievgen,

    I also found some data entities in D365 but strangely none of them was able to export data for security and ended up in throwing up some vague errors.

    Thanks for your valuable help. I think the link provided by you should suffice our requirement.

    Thanks a lot !!!!

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

    Hi Amit,

    What would be the purpose? There are over 20000 privileges. What business requirement are you trying to solve here?

  • amigup1982 Profile Picture
    150 on at

    Hello Andre,

    We wanted to keep them as archive to move from one environment to another if we create any new roles, duties or privileges.

    Thanks & Regards,

    Amit Ashok Gupta.

  • nmaenpaa Profile Picture
    101,160 Moderator on at

    Normally one would use source control to archive the changes you made to the application.

    Are you making security changes using Visual Studio or the Security Configuration tool inside D365FO user interface?

  • amigup1982 Profile Picture
    150 on at

    Hello Nikolaos,

    We will use the security configuration tool inside D365FO but initially we were thinking to figure out if there is something available in data entity to achieve this import of configuration in other systems.

    Thanks !!!!

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,037 Super User 2025 Season 2 on at

    Hi Amit,

    There is an audit form for reviewing changes made between various versions of a security role when you use the configuration tool. If you have selected a Role, Duty or Privilege on the Security configuration form, you can click the Audit trail button to get all details.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans