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 :
Customer experience | Sales, Customer Insights,...
Unanswered

Address(customeraddress) creation failed in D365 CRM on enabling Dual Write with D365 FO with GAB Dual Write

(0) ShareShare
ReportReport
Posted on by 30

Topic - Address creation from CE throwing error, Not found any resolution

Details -

I have installed and configured Dual Write integration between D365 FO and D365 CE and installed all the initial solution and setups.
We have requirement to store multiple address in CE and sync to FO. For that we have installed Global Address Book Dual Write Solution which is working fine to sync accounts/contacts and sync address1,address2,address3 on account and contact.

Here we can add additional address against the account/contact in CE. When we try to create new address from "Address" Tab on account/contact form in CE it throws below error.
This error is coming from Plugin related to Global Address Book solution and there is not other custom plugin on create of customeraddress in CE.

On Address creation form we have LocationID field which is Readonly. Assumption is that on creation of address it should populate. Please help.

createaddresserror.pngpastedimage1667397037028v1.png

Please refer below Error.
---------------------------------------------------------------------
Exception Message: An error occurred in plugin.Condition for attribute 'msdyn_postaladdresscollection.msdyn_location': null is not a valid value for an attribute. Use 'Null' or 'NotNull' conditions instead.

ErrorCode: -2147220891
HexErrorCode: 0x80040265

ErrorDetails:
OperationStatus: 0
SubErrorCode: -2146233088
Plugin:
ExceptionFromPluginExecute: Microsoft.Dynamics.GABExtended.Plugins.CreatePartyAddress
ExceptionRetriable: False
ExceptionSource: PluginExecution
OriginalException: PluginExecution
PluginTrace: Entity State
msdyn_internalupdateflagforplugin value is True
Update customer address record : True and value of flag is True
Location ID value is
CreatePostalAddress method. Fetching msdyn_postaladdresscollection record with location ID
Condition for attribute 'msdyn_postaladdresscollection.msdyn_location': null is not a valid value for an attribute. Use 'Null' or 'NotNull' conditions instead.

HelpLink: go.microsoft.com/.../

TraceText:
[Microsoft.Dynamics.GABExtended.Plugins: Microsoft.Dynamics.GABExtended.Plugins.CreatePartyAddress]
[b40f34f4-3a72-eb11-a812-000d3a374768: Microsoft.Dynamics.GABExtended.Plugins.CreatePartyAddress: Create of customeraddress]


Entity State
msdyn_internalupdateflagforplugin value is True
Update customer address record : True and value of flag is True
Location ID value is
CreatePostalAddress method. Fetching msdyn_postaladdresscollection record with location ID
Condition for attribute 'msdyn_postaladdresscollection.msdyn_location': null is not a valid value for an attribute. Use 'Null' or 'NotNull' conditions instead.

Activity Id: a74f1768-8e7a-47af-9d28-ebc7c90115b5
------------------------------------------------------

I have the same question (0)
  • blearnav Profile Picture
    20 on at
    Address(customeraddress) creation failed in D365 CRM on enabling Dual Write with D365 FO with GAB Dual Write
    I'm having the same issue, have you found a solution?
  • swapnilekhe Profile Picture
    30 on at
    RE: Address(customeraddress) creation failed in D365 CRM on enabling Dual Write with D365 FO with GAB Dual Write

    a

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 152

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 66 Super User 2025 Season 2

#3
DAnny3211 Profile Picture

DAnny3211 55

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans