RedditPP Mascot

RedditPP

r/PowerPlatform • … • u/dicotyledon

Has anyone here used the Project Schedule APIs with Planner for the Web (premium Planner)?

I'm attempting to create some automation around Planner for the Web with Power Automate that involves creating a project, specifically using the msdyn\_CopyProjectV4 to create a copy of a project - this is essentially a DIY custom template solution (we create some "template" projects and copy those when creating a new project as if they were templates). This copies all the tasks and buckets from one project to another with the "bound action" action (documentation: [https://learn.microsoft.com/en-us/dynamics365/project-operations/project-management/dev-copy-project#copy-project-v4-custom-action](https://learn.microsoft.com/en-us/dynamics365/project-operations/project-management/dev-copy-project#copy-project-v4-custom-action)). I'm setting the option to not copy any team member data for simplicity (that's the "0" option).

This part is working, and when I go in and look at the new project that was created I see all the copied tasks and buckets. The issue is, after about 30 seconds, I get a message that my session has expired and needs to refresh, and when I refresh the page all the tasks that were created disappear. :x

I went in and checked the Dataverse table directly, and the tasks that were created with the copy activity are no longer in the table at all.

Has anyone used this successfully or have any idea what's going on?

I gather this API is usually used for Project Operations primarily, but supposedly it works with Planner for the Web as well and since there's no other connector that will create/update Planner premium data in Dataverse (Dataverse connector won't do it, tried that) I am kind of confused. There doesn't seem to be much content out there on how to use this, I was planning on creating some but can't actually get it working properly. :)

Here's a photo of the flow history, you can see it succeeds here so not sure what to troubleshoot honestly.

![img](30ignnf0arxd1)

— 0