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, ...
Suggested answer

Import and re initialisation of custom roles using xml or data management

(2) ShareShare
ReportReport
Posted on by 65
I have two environments A and B that have custom roles in them (custom by the functional space and not development), I exported the custom securtiy packages of both (containing the 3 entities of role, duty and privilege) and then used data management to import all roles from env A to env B.

The problem is there were many custom changes in other roles/duties/privileges that I wasn't aware of that got imported to env B (which is a production environment).

I want to return env B to its old configurations without the addition of all these imported security configurations, is there a way to do so? is it possible using data management (I noticed that the configuration is reset with another import of package but the new additions weren't deleted, it only updated the existing similartites but didn't touch the new security items added)

Thank you in advance for your help and suggestions :) .
Categories:
I have the same question (0)
  • Suggested answer
    Zain Mehmood Profile Picture
    4,173 Most Valuable Professional on at
    Import and re initialisation of custom roles using xml or data management
    Hi,

    There's no automatic rollback for security imports in D365 F&O. Data Management only adds or updates roles/duties/privileges — it does not delete anything.

    Options you can try:

    • Restore from backup if available.
    • Manually delete unwanted roles/duties from Security Configuration.
    • Re-import a clean security config (if you had exported before).
    • Use Excel or tools like Fastpath to compare and clean up.

    Always test imports in a sandbox and keep backups of your security exports.

    Hope this helps, 

    Zain

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,122

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 646 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans