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

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

msydn_project throws an error "Project estimated labor cost is not editable ..."

(0) ShareShare
ReportReport
Posted on by
Hello All,
 
I am running into strange issue in the MS flow.
 
I have one flow where I am updating the job partner field ( user ) on msydn_project , whenever user changes its job partner field. I found that when old job partner is disabled user , and new job partner value provided by user when it updates it throws and error and does not allow to proceed in flow. Below is the error descriptoin. Anyone could help me how to rectify it and probable root cause of it.
 
{
  "error": {
    "code""0x80040265",
    "message""Project estimated labor cost is not editable once there are one or more tasks in the project.",
    "@Microsoft.PowerApps.CDS.ErrorDetails.OperationStatus""0",
    "@Microsoft.PowerApps.CDS.ErrorDetails.SubErrorCode""-2146233088",
    "@Microsoft.PowerApps.CDS.ErrorDetails.Plugin.PluginTrace""[Microsoft.Dynamics.ProjectService.Plugins: Microsoft.Dynamics.ProjectService.Plugins.PreValidatemsdyn_projectUpdate]\r\n[989761fb-2ec9-449f-93c3-ea93b28916d8: Project Service - Pre validate of scheduling fields on update of msdyn_project]\r\n",
    "@Microsoft.PowerApps.CDS.TraceText""[Microsoft.Dynamics.ProjectService.Plugins: Microsoft.Dynamics.ProjectService.Plugins.PostResourceAssignmentUpdate]\r\n[2c2856ca-b842-ea11-a81e-000d3ac406c6: Project Service - PostResourceAssignmentUpdate]\r\n\r\n\t[Microsoft.Dynamics.ProjectService.Plugins: Microsoft.Dynamics.ProjectService.Plugins.ResourcePostProjectTaskUpdate]\r\n\t[07cff036-6859-e411-80cb-00155db9c106: Project Service - ResourcePostProjectTaskUpdate]\r\n\t\r\n\t\tPII Removed. Length: 243",
    "@Microsoft.PowerApps.CDS.InnerError.Message""Project estimated labor cost is not editable once there are one or more tasks in the project."
  }
}
Categories:
I have the same question (0)
  • SaiRT14 Profile Picture
    1,988 Super User 2025 Season 2 on at
    msydn_project throws an error "Project estimated labor cost is not editable ..."
    Pls try the following:
     
    Verify the status of the project and its tasks: Ensure no tasks are in a state that blocks updates (e.g., completed or locked). Consider temporarily adjusting task statuses if updates are necessary.
     
    Use a two-step update approach: Clear the Job Partner Field: Temporarily set the Job Partner field to null or a placeholder value. Assign the New Job Partner: After clearing the field, set it to the new value Step 1: Update msdyn_project -> job partner = null
    Step 2: Update msdyn_project -> job partner = new value
     
    If the old job partner is a disabled user, ensure: The system properly dereferences the disabled user before assigning the new one. Use Flow to explicitly remove the disabled user from the field before assigning the new value.
     
    If a custom plugin (PreValidatemsdyn_projectUpdate) is enforcing this validation, consider temporarily disabling it during the update: Work with your Dynamics 365 administrator to review the plugin's purpose and determine if it can be adjusted or bypassed safely.
     
    Request your Dynamics 365 admin to: Adjust business rules or plugins that restrict updates to the Job Partner field. Investigate whether the estimated labor cost field calculation can be temporarily bypassed.
     
     

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…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 650 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 341 Moderator

#3
developerAJ Profile Picture

developerAJ 256

Last 30 days Overall leaderboard