Announcements
No record found.
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: -2147220891HexErrorCode: 0x80040265ErrorDetails: 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 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.
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?
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.
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.
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
FSRon 70
Jimmy Passeti 22 Most Valuable Professional
11manish 22