Showing posts with label dataverse. Show all posts
Showing posts with label dataverse. Show all posts

Friday, September 1, 2023

Dual Write Error - Write failed for entity CDS Contacts V2 with unknown exception

In my current project we had to remove the Global Address Book Solution for Dual Write from the Environment. During this process, the following error was occurring on Customer Create.


Write failed for entity CDS Contacts V2 with unknown exception - Field 'Associated party number' must be filled in.\nvalidateField failed on field 'smmContactPersonCDSV2Entity.AssociatedPartyNumber'


The problem was that the plugin "Microsoft.Dynamics.SCMExtended.Plugins.Plugins.LeadPrimaryContactPostCreate: QualifyLead of lead" was still deactivated. This Plugin is about to be disabled on install of GAB (Link) and this Error is what you are facing if you do not enable it afterwards.


Dual Write GAB Plugin to be reactivated


Cheers


Wednesday, March 30, 2022

D365 CE - Failure 0x80040203 AttributeId is null

Since I have seen this failure now in my last project and also got some questions from others in the past, I just wanted to document our root cause as well here. There are already posts out there but the one I found did not really explaining the issue itself my point of view.

In our scenario, we just enabled Virtual Entities for a PoC in one of our lower test environments (not in dev due to some infra topics) and added a lookup (n:1 Relation) to this Virtual Entity. Afterwards we decided to go without the Virtual Entities due to the current limitations and created a Lookup with same name but to a regular Entity. The problem was that the PoC was not reverted before we deployed the final solution in the test environment which caused this (not really helpful) error message "0x80040203 AttributeId is null".

Cheers



Saturday, February 13, 2021

PowerAutomate/(Cloud-)Flow not triggering via D365 CE/CDS/Dataverse Adapter

 If your Flow is not triggering via the CE (Dataverse) Adapter, first of all you should check the Troubleshooting hints from Microsoft.

Troubleshoot common issues with triggers - Power Automate | Microsoft Docs

If this does not help, you can also check if your Org is still in Admin Mode (maybe this was not activated after the last restore/copy from another system).


Cheers

PS: The Microsoft-Renamings are destroying each tag structure...