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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Cannot insert project task to label entities

(0) ShareShare
ReportReport
Posted on by 10

Greetings,

I am currently developing a solution that is integrating with Schedule API to create project and related resources from CSV. I followed guidelines from https://learn.microsoft.com/en-us/dynamics365/project-operations/project-management/schedule-api-preview

I was able to create the project, team members, buckets, tasks, checklists, task dependencies and resource assingments. The one thing I am having issues with is trying to create msdyn_projecttasktolabel entities.

When operation set is being executed it goes into "Failed" status with the following details:

pastedimage1672066798600v1.png

The message inside the record is:
Microsoft.Crm.BusinessEntities.CrmObjectNotFoundException: msdyn_projecttasktolabel With Id = 4e907b7e-f0bf-4944-9251-d4bf9fb401b7 Does Not Exist ---> Microsoft.Crm.BusinessEntities.CrmObjectNotFoundException: msdyn_projecttasktolabel With Id = 4e907b7e-f0bf-4944-9251-d4bf9fb401b7 Does Not Exist

It is expected that this entity does not exist as it is created as part of this OperationSet.
Also there is an error code "OpenProject" for which I can't find any related documentation.

I am using Project for the Web, and in Schedule API docs it is noted that opertaion with labels and label to task assignments should be supported.

Any help with resolving this issue would be appreciated.

PS: Please transfer the topic if it is not reported in the correct section of the forum.

I have the same question (0)
  • disgruntleduser Profile Picture
    2 on at
    Hello, I know this is from 2022, but did you find a solution to this? I'm getting a different error with the msdyn_projecttasktolabels table, but your issue is the closest I've found.

    Error: "The referenced project with id 00000000-0000-0000-0000-000000000000 in the request does not match the project id <my project id> of the operation set"
     
    The project id isn't part of the request, so when I try to add it, I get a different error as expected.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 286 Super User 2026 Season 2

#2
SajeedMullaji Profile Picture

SajeedMullaji 272

#3
Martin Dráb Profile Picture

Martin Dráb 258 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans