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 :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

D365 F&O Security Configuration Lost After Customer Package Update

(1) ShareShare
ReportReport
Posted on by 4
Hi experts,
we are experiencing an issue in Dynamics 365 Finance & Operations (PU45) related to security configuration.
 
After applying the customer’s package updates in the Production environment, the system silently modifies the security configurations of custom roles that were created directly in D365 F&O. These roles are not linked to objects developed in AOT or deployed through packages. The changes are not triggered by any user action and are logged under the SYSTEM user ID in the audit trail.
 
This behavior is not consistent, but it occurs frequently enough that we must manually correct the configuration each time.
 
Looking at the audit trail, it appears that something (associated with the SYSTEM user) happens at the end of the package update process, likely during database synchronization.
 
Has anyone experienced something similar? 
 
Do you have any suggestions about what process might be causing the security configuration to be lost?
 
Thank you
I have the same question (2)
  • Suggested answer
    Navneeth Nagrajan Profile Picture
    2,438 Super User 2025 Season 2 on at
     
    A few questions:
    1. Had you published the privileges, roles and duties from the front end and linked them through the application?
     
    Suggestions:
    If the answer is yes, to the above mentioned question then a package shouldn't disrupt these privileges, roles and duties being published. However, if you are synchronising system user related objects as a part of the package then these published objects changes will be altered. Experienced this typically with database refreshes from higher to lower environments (Which is definitely the case) and with ISV based solutions or with packages that have related roles, privileges and duties associated with the published security related components from the front end. 
     
    Hope this helps. Happy to answer questions, if any.
     
  • FR-22121547-0 Profile Picture
    4 on at
    Hi
    thank you for your suggestion, but if I understood your question correctly, this is not the case.
     
    The strange thing is that this behavior occurs randomly, and it happens in all cloud environments (Prod, UAT, and Preprod) except TEST.

    The only difference is that the TEST environment contains the base configuration, which was set up manually, whereas the other environments were configured
    by migrating the settings via an XML file using the standard “Security configuration / Data / Export - Import” functionality.
     
    Thank you.
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,069 Super User 2025 Season 2 on at
    Hi,
     
     
    Can you tell if the custom configured roles contains duties and/or privileges maintained in Visual Studio (provided out of the box)? If so, in case standard elements are changed, it will also update custom roles as a dependency update. This is intended behavior. 

    In case you only used configured privileges and duties, it should not impact them.

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 > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 302 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 183 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans