Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

Dual write failure - Plugin registration failed

(1) ShareShare
ReportReport
Posted on by 2
Hi All, 
 
I'm syncing Payment days CDS data entity. It got through Initial sync but after that it throws an error. I checked the mapping and there was no error, even trying to refresh table mapping but still this error comes.
 
Type=Microsoft.Dynamics.Integrator.Exceptions.DualWriteException, Msg=Dual write failure - Plugin registration failed: Type=System.AggregateException, Msg=One or more errors occurred. (Unable to sync dual write metadata for AX. Error Type=Microsoft.Dynamics.Integrator.Exceptions.IntegratorClientException, Msg=[FnORegistrationForEnhanceLe]: Failed to run registration on FnO. Error Reason {/RecordError0/:/Action RegistrationWithLElist failed.  ErrorMessage : The entity PaymentDayCdsEntity contains tables used in the data sharing policy 5637144577 and can not be enabled for Dual Write - The entity PaymentDayCdsEntity contains tables used in the data sharing policy 5637144577 and can not be enabled for Dual Write/}.ActivitySeq-eeba1459-1175-461a-8964-215e1c973711)
 
 
  • Verified answer
    Judy Profile Picture
    Judy Microsoft Employee on at
    Dual write failure - Plugin registration failed
    For the error message, the error is caused by data sharing policy. And there is public feature document, it can't be used for dualwrite.
    please try to disable the data sharing policy, then try it again. 
     
    Hope it helps.
    Best Regards,
    Judy


     

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,391 Super User 2024 Season 2 on at
    Dual write failure - Plugin registration failed
    Hi,
     
    The error mentions that there is a conflict as probably you have the same table(s) for both cross-company data sharing and dual write. These two concepts are not supported together as stated by Microsoft in the documentation. You would need to verify if the payment days table is also enabled in a data-sharing policy. In that case, you would need to choose between Dual Write or the data sharing.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans