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

Announcements

News and Announcements icon
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,311 Most Valuable Professional on at
    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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 587

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 568 Super User 2026 Season 1

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 561 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans