Skip to main content



No record found.

Dynamics 365 Community / Forums / Finance forum / Dual-write failure whe...
Finance forum

Dual-write failure when attempting to stop 'Legal entities (cdm_companies)' table map

Posted on by 3,041
When attempting to stop a table map, I receive the following error:
Legal entities (cdm_companies) : Type=Microsoft.Dynamics.Integrator.Exceptions.DualWriteException, Msg=Dual write failure - Plugin Unregistration failed: Type=System.AggregateException, Msg=One or more errors occurred. (Error occured while retrieving FinOps entity details: Type=Microsoft.PowerApps.CoreFramework.Communication.Http.NonSuccessHttpResponseException, StatusCode=Forbidden, Msg=Server returned non-success HTTP response)
Any ideas what this is trying to tell me?
This is a tier 2 non-production environment that we recently refreshed with a database from a tier 1 environment. (I Suspect this is the issue but not sure)
  • Verified answer
    b_radlyjames Profile Picture
    b_radlyjames 3,041 on at
    Dual-write failure when attempting to stop 'Legal entities (cdm_companies)' table map
    As I suspected, this was due to the refresh.  The 'Microsoft Entra ID Applications' in System Administration setup need to be defined again for dual-write and power platform. I can be helpful to save off these values before the refresh.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,914 Super User

Martin Dráb Profile Picture

Martin Dráb 225,549 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans