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 !!!

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    293,138 Super User 2025 Season 1 on at
    RE: How to export security role, duties and privileges to an excel sheet in D365

    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.

  • amigup1982 Profile Picture
    150 on at
    RE: How to export security role, duties and privileges to an excel sheet in D365

    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 !!!!

  • nmaenpaa Profile Picture
    101,156 Moderator on at
    RE: How to export security role, duties and privileges to an excel sheet in D365

    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
    RE: How to export security role, duties and privileges to an excel sheet in D365

    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.

  • André Arnaud de Calavon Profile Picture
    293,138 Super User 2025 Season 1 on at
    RE: How to export security role, duties and privileges to an excel sheet in D365

    Hi Amit,

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

  • Suggested answer
    amigup1982 Profile Picture
    150 on at
    RE: How to export security role, duties and privileges to an excel sheet in D365

    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 !!!!

  • Suggested answer
    Mea_ Profile Picture
    60,278 on at
    RE: How to export security role, duties and privileges to an excel sheet in D365

    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

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,138 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,895 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans