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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

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

(2) ShareShare
ReportReport
Posted on by 14

 

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
    14 on at

    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.

  • Verified answer
    André Arnaud de Calavon Profile Picture
    304,932 Super User 2026 Season 1 on at
    Hi,

    Note that this is a public community forum, being monitored by volunteers. In case you want to raise this as ticket for Microsoft Support, please go to https://admin.powerplatform.microsoft.com/support/requests.

    In case you like to receive answers from the community, please let us know, then we can keep the question open.
  • NR-09071243-0 Profile Picture
    14 on at
    ok thank you , i will open for Microsoft 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 660

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 654 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 489

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans