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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Unable to Change Primary Address in OMLegalEntities – Configuration and Recommended Solution

(0) ShareShare
ReportReport
Posted on by

Hello,

I am encountering an issue on the Legal Entities form (OMLegalEntities) where I am unable to change an existing Primary Address toggle or set a newly created address as Primary.

Scenario

In my isolated Development environment, the address grid works as expected. I can create a new address record, and the UI allows me to toggle IsPrimary from No to Yes without any restrictions.

However, in our Pre-Production sandbox environment, which recently received a database refresh from Production, the behaviour is different:

  • The Primary column in the address grid is rendered as flat, read-only text with no interactive toggle.
  • When creating a new address record, the standard address creation wizard popup — "Do you want to make this address primary?" — does not appear.

Technical Investigation

We have confirmed that security permissions are not the issue. The form is fully in Edit mode, and other fields such as Street, Name, and Purpose remain completely modifiable in both environments.

We traced the framework validation rules down to the form handler layer, which interacts with:

DirParty::isPrimaryAddressChangeAllowed()

Based on our investigation, the method evaluates to false in the Pre-Production environment because it contains historical financial and posted subledger transactions copied from Production.

As a result, the framework dynamically suppresses the UI controls for changing the Primary address in order to protect historical reporting data.

Question

Our team lead prefers an out-of-the-box functional solution.

Is there any standard parameter, configuration switch, or functional setup available through the Dynamics 365 Finance and Operations GUI — for example, within Global Address Book parameters or Organization Administration — that allows us to bypass this validation and change the Primary address directly in a transactional sandbox environment?

If no functional GUI configuration or standard parameter exists to bypass this validation, what is the officially recommended best practice for updating the primary location/address structure of an active operational Legal Entity when the relevant UI fields are hardcoded as read-only?

We would appreciate guidance on the supported and recommended approach, particularly one that avoids directly modifying the underlying database or introducing unsupported customizations.

Thank you for your guidance.

Best regards,

Categories:

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

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 90 Super User 2026 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 58 Super User 2026 Season 2

#3
ParthPatel249 Profile Picture

ParthPatel249 56

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans