Announcements
No record found.
Hi,
I had created entity with 2 fields,
i am trying to configure the dual write for that entity getting the below error.
"poject validation failed. SourceEntitySchema: Sample types doesn't have primary company field set and DestinationEntitySchema: cr165_sampletypeses has a primaryCompanyField set to cr165_companyid.cdm_companycode. Dual-write only supports mapping between cross-company entities or company-specific entities from both sides..keys are missing for either AX or CRM.keys are missing for either CRM or AX".
How we can solve this.
Regards,
Veer
moved to the d365 forum
Veer,
I have seen this error for multiple times before and was fixed by the Microsoft Engineering team by correcting the mapping. You may want to open a support ticket with MS to troubleshoot and fix this as it needs some thorough investigation from FnO along with CRM. Also, please take a look at docs.microsoft.com/.../define-alternate-keys-reference-records before opening a ticket.
Thanks
For each and every custom entity we can't create a support ticket, is there any standard way to give mapping and adding integration key
Hi Veer,
Did you mange to figure out what to do for this? I am experiencing the same issue.
It's trying to say to fix up the Legal Entity to cdm_company. but not sure how's that supposed to be done.
Cheers,
Rah
For anyone wondering I managed to solve the issue that I was facing.
In the Power Platform where created the custom entity create a lookup field to cdm_company if you haven't already.
In the key section, add a key with both cdm_company and any other keys that might be required from F&O.
adding the key field automatically adds integration key in the Dual Write page setup.
That way the Data Area Id of the F&O entity will match with Power Platform cdm_company lookup field of the custom entity.
Hope this helps.
rah_barheyan
Thank you so much. Your solution worked for me.
Thank you for this question.
Please where can I find "Key" tab?
Thank you for this solution.
Please where can I find ?
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 495 Most Valuable Professional
André Arnaud de Cal... 432 Super User 2026 Season 2
CU10121822-0 366