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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

D365 FO – Error writing to cdm_companies entity during Legal Entity update.

(0) ShareShare
ReportReport
Posted on by 8
Issue creating new entity in D365 FO sandbox, see attached image for the error.
Error 1.png
Categories:
I have the same question (0)
  • Suggested answer
    Anton Venter Profile Picture
    20,672 Super User 2026 Season 1 on at
     
    Can you check the following, I am not entirely sure if it applies in your scenario:
     
    Your application registration has be configured in F&O under System Administration -> Microsoft Entra ID applications.
    In this form, the F&O user account (User ID) must have access permission to the data entity with the correct security role.
     
     
  • AK-29080207-0 Profile Picture
    8 on at

    Thanks a lot, Anton, for taking the time to share your suggestion and the detailed explanation — much appreciated.

    In my case, this doesn’t seem to apply to the scenario. The Microsoft Entra ID application is already configured correctly in System administration > Microsoft Entra ID applications, and the associated F&O user has the required roles and permissions.I was able to successfully create 2–3 data entities earlier in the same environment without any issues. However, the error has started appearing only now when creating a new data entity, without any recent configuration changes from our side.

    I’ve done some R&D at my end as well, including validating: Security roles and data entity permissions in D365 F&O, User access and privileges, Relevant settings in PPAC.

    Everything appears to be in place and unchanged. That’s why this behavior is a bit unexpected, especially since it’s occurring in an existing and previously working setup.

  • Anton Venter Profile Picture
    20,672 Super User 2026 Season 1 on at
     
    Just a wild guess and you might have done this already. Can you confirm that you added the new data entity to a security privilege? If yes, is the Grant property set accordingly?
     
     
  • Verified answer
    Sohaib Cheema Profile Picture
    49,664 Super User 2026 Season 1 on at
  • AK-29080207-0 Profile Picture
    8 on at
    Hi,
     
    Thank you for sharing this thread! Issue got resolved by following the steps mentioned in thread. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 804

#2
André Arnaud de Calavon Profile Picture

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

#3
Subra Profile Picture

Subra 528

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans