Forum Discussion
How can I modify a task in Project for the web by Power Automate
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."
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
- Chibo1215Dec 23, 2022Copper 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
- daibtDec 27, 2022Brass Contributor
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
- Chibo1215Dec 27, 2022Copper ContributorThis blogpost was helpful for me.
https://daytodaydynamics365.com/project-operations-and-project-for-the-web-schedule-api-guide-for-power-automate-users/