web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Copy project cannot be done for opened project” for newly created target project

(0) ShareShare
ReportReport
Posted on by 2

 

Support Ticket: CopyProjectV3/V4 API Incorrectly Returns “Copy project cannot be done for opened project” for Newly Created Target Project

Issue Summary

We are encountering a blocking issue when using the CopyProjectV3 and CopyProjectV4 APIs in Dynamics 365 Project Operations. When we create a new, empty target project and supply it in the CopyProject request, the API returns the following error

 

Invalid Request: Copy project cannot be done for opened project


This happens even though the target project is newly created and has not been accessed or modified by any user or process.

 
 

Detailed Description

Observed Behavior

 

  •  

    A target project is created seconds before calling CopyProject.


  •  

    The project is in statecode = 0 (Draft) with default status values.


  •  

    The project has no resource assignments, no activities, and no related records.


  •  

    No plugins, workflows, Power Automate flows, or business rules interact with the project.


  •  

    The project is not accessed or opened in the UI.


  •  

    Despite this, the API returns “opened project” validation failure.


  •  

    Identical behavior occurs for both CopyProjectV3 and CopyProjectV4 using the same payloads



  •  

Expected Behavior

 

The API should accept a newly created, draft-state project as a valid target and complete the copy successfully — especially since Microsoft documentation indicates that supplying a custom TargetProject is a supported pattern.

 
 

Questions for Microsoft

 

To proceed, we need clarification on the following:

 

  1.  

    What exact state/status must a target project be in for the API to consider it “not opened”?


  2.  

    Is supplying a custom TargetProject officially supported for CopyProjectV3/V4?


  3.  

    Is there a known issue or regression causing the API to misclassify newly created projects as opened?


  4.  

    Is there an internal field or flag (e.g., msdyn_isopened) used by the API that may incorrectly be set during creation?



  5.  
 
 

Impact

 

This issue prevents us from using the recommended automated project creation pattern. Because the API incorrectly flags new projects as “opened,” we cannot execute CopyProject when providing our own target project. This is blocking our deployment.

I have the same question (0)
  • NR-09071243-0 Profile Picture
    2 on at
    Copy project cannot be done for opened project” for newly created target project

    2. New Additional Error

     
     
     
    Action cannot be called while the plan being copied in progress
     

    This second error appears even though no copy is running, further suggesting that the API is incorrectly setting or failing to clear an internal flag/state during the copy process.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 761 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 605 Super User 2025 Season 2

#3
CU05031448-0 Profile Picture

CU05031448-0 498

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans