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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

Error 0x80040265 cannot write data to this table, only the integration users may write data to this table on new instance(create company).

(1) ShareShare
ReportReport
Posted on by 5

Hi, I'm a new user on MIcrsoft Dynamics 365 customer engagement.

When trying to insert a new company in my crm through the FieldService module (Inventory) I came across this error:
Exception Message: OrganizationServiceFault Microsoft.Xrm.Sdk.InvalidPluginExecutionException: "The user 8b91d8ee-4eaf-ea11-a812-000d3ac17cd2 cannot write data to this table, only the integration users may write data to this table."
at Microsoft.Dynamics.FOCommon.Plugins.Services.ReadonlyEntityService.PreModify(LocalPluginContext localcontext)
at Microsoft.Dynamics.FOCommon.Plugins.PluginBase.Execute(IServiceProvider serviceProvider)

ErrorCode: -2147220891
HexErrorCode: 0x80040265

ErrorDetails:
OperationStatus: 0
SubErrorCode: -2146233088
Plugin:
ExceptionFromPluginExecute: Microsoft.Dynamics.FOCommon.Plugins.ReadonlyEntityPreModify
ExceptionRetriable: False
ExceptionSource: PluginExecution
OriginalException: PluginExecution
PluginTrace:

HelpLink: go.microsoft.com/.../

TraceText:
[Microsoft.Dynamics.FOCommon.Plugins: Microsoft.Dynamics.FOCommon.Plugins.ReadonlyEntityPreModify]
[5efce7af-a35b-e911-a955-000d3a1d5d5a: Microsoft.Dynamics.FOCommon.Plugins.ReadonlyEntityPreModify: Create of cdm_company]

Id da Atividade: 73bc712f-4ae0-4120-86e1-1528c2f2881f
I have the same question (0)
  • Verified answer
    Lucky Dog Profile Picture
    670 on at

    I assume you are talking about the company table in dataverse which contains the legal entities from FO in an integrated environment using Dual write? This needs to be done from FO.

  • Tiago Lino Profile Picture
    5 on at

    Thank you very much for your help but I believe that my license does not have access to Finance and Operations is there any other way to do this process?

  • Suggested answer
    Lucky Dog Profile Picture
    670 on at

    As far as I know there isn't. Legal Entities are absolute key in FO and you just can't and shouldn't create them within CE.

  • Tiago Lino Profile Picture
    5 on at

    I'm trying to create a deposit but it has a mandatory field as a company, during the inclusion process it makes it necessary to include it will I be doing something wrong?

    because in a trial license it was working but in this instance it generates this error.

  • JCo Profile Picture
    305 on at

    As was shared, a company can only be created from within F&O.

    The company concept is incredibly important for F&O functionality with many implications across F&O. A new company record can ONLY be created in F&O today. Even if you could get around the validations by disabling dual-write, you would not be able to use the company record in F&O and would only be creating issues for your implementation.

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…

Neeraj Kumar – Community Spotlight

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

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 55 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 27 Most Valuable Professional

#3
Scott Jackson UK Profile Picture

Scott Jackson UK 22

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans