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 :
Microsoft Dynamics CRM (Archived)

Importing Projects getting error 0X80040217 - culprit believed to be Class ID

(0) ShareShare
ReportReport
Posted on by

Using Dynamics 365 v8.2

Importing a file of Projects.  One of the Required fields is "Class ID", which I believe is a member of Projects -> Work Hour Templates.  I used the "Default Work Template."  Each of the 378 projects fails with the error depicted in the attached.  Two questions:

  • Is my conclusion that "Class ID" is a member of Work Hour Templates?  If not, to what is it related?
  • Is there another reason for the failed import?

Thank you in advance...x80040217.PNG

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Daniel Wikell Profile Picture
    2,360 on at

    Hi

    The error in your image indicates that there's a lookup field on the project entity which references another entity called "BookableResourceCategory" and that you haven't specified this reference in your import rows.

    Looking at a design graph for Project Service Automation it seems that Bookable Resource Category is linked to Project Team Member. Do you have any project team members part of your project import rows? If so, can you see the Bookable Resouce Category field there?

    You might also receive errors during import if you have a plugin registered to the create step of project or any of its related entities that are automatically created when creating projects and said plugin expects to find a value in the resource category. If you have a plugin like this you might want to look up the business logic for it and see if there's any fields that are is implicitly mandatory.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans