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,155
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,155 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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

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

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 679 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 410 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 292 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans