Forum Discussion

daibt's avatar
daibt
Brass Contributor
Dec 06, 2022
Solved

How can I modify a task in Project for the web by Power Automate

Hi all

I would like to find a way to modify a task as change start date, change finish date, or change duration in a task in Project for the web by Power Automate.

 

regards

Truong Dai.

  • daibt's avatar
    daibt
    Dec 23, 2022

    Chibo1215 

    I see that Project for the Web updates the data to the dataverse, but when the data in the dataverse is modified, the system doesn't update in the P4W. So updating data in dataverse is not the solution

5 Replies

  • Chibo1215's avatar
    Chibo1215
    Copper Contributor

    daibt 

    Also trying to do this. I tried using Update a row (dataverse action) to the Project Tasks table but I am getting error message

    "We’re sorry. You cannot directly do 'Update' operation to 'msdyn_projecttask'. Try editing it through the Resource editing UI via Project."

    • daibt's avatar
      daibt
      Brass Contributor

      Chibo1215 

      I see that Project for the Web updates the data to the dataverse, but when the data in the dataverse is modified, the system doesn't update in the P4W. So updating data in dataverse is not the solution

      • Chibo1215's avatar
        Chibo1215
        Copper Contributor

        daibt Thank you, this lead me to a solution. I was able to change the dates on a task using Power Automate by using the msdyn_PSSUpdateV1 API.

        https://learn.microsoft.com/en-us/dynamics365/project-operations/project-management/schedule-api-preview?source=recommendations

Resources