Can you update a task in Premium Planner for the Web with Power Automate?

There’s not a connector for premium like there is for basic Planner!

This topic comes up a lot, and I had a hunch that it wasn’t as simple as you’d expect, but it turns out you really can’t use the Dataverse connector to update premium Planner tasks:

"body": {
        "error": {
            "code": "0x80040265",
            "message": "We’re sorry. You cannot directly do 'Update' operation to 'msdyn_projecttask'. Try editing it through the Resource editing UI via Project.",
            "@Microsoft.PowerApps.CDS.ErrorDetails.OperationStatus": "0",
            "@Microsoft.PowerApps.CDS.ErrorDetails.SubErrorCode": "-2146233088",
            "@Microsoft.PowerApps.CDS.ErrorDetails.Plugin.PluginTrace": "[Microsoft.Dynamics.ProjectServiceCore.Plugins: Microsoft.Dynamics.ProjectServiceCore.Plugins.PreValidateProjectTaskUpdate]\r\n[40b6f4cf-d5c0-4f6c-9a2e-e60c5b8b2d5f: Project Service Core - Pre Validate Update of msdyn_projecttask]\r\n",
            "@Microsoft.PowerApps.CDS.TraceText": "\r\n[Microsoft.Dynamics.ProjectServiceCore.Plugins: Microsoft.Dynamics.ProjectServiceCore.Plugins.PreValidateProjectTaskUpdate]\r\n[40b6f4cf-d5c0-4f6c-9a2e-e60c5b8b2d5f: Project Service Core - Pre Validate Update of msdyn_projecttask]\r\n\r\n",
            "@Microsoft.PowerApps.CDS.InnerError.Message": "We’re sorry. You cannot directly do 'Update' operation to 'msdyn_projecttask'. Try editing it through the Resource editing UI via Project."
        }
    }
}

I tested this out using a basic “update a row” with the Dataverse connector to modify a single task and this was the error it gave.

If you’re thinking “why don’t you use the Planner connector?!”, it’s because the Planner connector is specific to standard-tier Planner. They are very much not the same thing and don’t live in the same place, despite being called the same thing.

I’m not sure what the plan for this is, perhaps Microsoft will eventually come out with a Planner premium-specific connector?

In the meantime, there is the Project Schedule APIs to work with as a last resort when you need to perform functions that the Dataverse connector won’t let you do.

Leave a Comment