By default, in Dynamics 365, when you create records for entities like contacts, accounts, and leads, related address records are automatically generated. This is designed to streamline the data entry process and enhance data consistency. However, there may be scenarios where you want to deactivate this behavior.
The “CreateOnlyNonEmptyAddressRecordsForAccountAndContact” property in Dynamics 365, is a system property related to the behavior of creating address records for account and contact entities. This property controls whether Dynamics 365 should create address records only if the address fields contain non-empty data, meaning there is actual address information to be stored.
Unfortunately, this property can be changed only by sending a service request to Microsoft and specifying the environments that need to be affected.
Having automatic address creation deactivated can help with performance on Contact / Account creation and will save storage if the empty records created have no business value.
Important to mention that:
- this property needs to be set at the level of the environment. If a new environment is created, a new service request needs to be created to have the property set.
- if any of the address fields, for example the ones with prefix address1_… has a value on contact creation, the corresponding address will be created. The same logic applies if one of the options set fields has a default value.
- on contact update, if one of the address fields is set, the corresponding address will get created.
