SOLVED

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

Brass Contributor

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.

5 Replies

@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."

best response confirmed by Dale Howard (MVP)
Solution

@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

@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-pre...

@Chibo1215  thánks you so much

 

This is a Project Operations document, not for Project for the Web. You can test other activities like creating a new task, changing the duration. Hope we have a good solution for P4W

 

Let me ask one more question, can we use HTTP, or HTTPS, as documented here https://learn.microsoft.com/en-us/azure/connectors/connectors-native-http

1 best response

Accepted Solutions
best response confirmed by Dale Howard (MVP)
Solution

@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

View solution in original post