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 :
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)
  • swapnilekhe Profile Picture
    30 on at

    a

  • blearnav Profile Picture
    20 on at
    I'm having the same issue, have you found a solution?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

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 > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 130 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 117

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans