web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

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

(1) ShareShare
ReportReport
Posted on by 3,157
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)
I have the same question (0)
  • Verified answer
    b_radlyjames Profile Picture
    3,157 on at
    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.
  • CU17030718-0 Profile Picture
    2 on at
    The "Forbidden" error usually indicates that your account does not have sufficient permissions to perform this action. You can double-check the access rights for your user in the FinOps environment. Additionally, refreshing the database from a tier 1 environment may have changed some relevant configurations or permissions.
    If you need more information, I found an article that may be helpful to you: https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/dual-write/dual-write-troubleshootinggunspin. Hopefully it will help you resolve the issue!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 695 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 360 Super User 2026 Season 1

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 288 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans