Skip to main content

Notifications

Announcements

No record found.

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.

  • disgruntleduser Profile Picture
    disgruntleduser 2 on at
    Cannot insert project task to label entities
    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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,661 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,379 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans