Skip to main content

Notifications

Announcements

No record found.

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,089
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)
  • CU17030718-0 Profile Picture
    2 on at
    Dual-write failure when attempting to stop 'Legal entities (cdm_companies)' table map
    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!
  • Verified answer
    b_radlyjames Profile Picture
    3,089 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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,017 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans