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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Error Importing Units

(0) ShareShare
ReportReport
Posted on by 390

Importing the Unit Groups (attached image), went fine.

When importing the Units the 5 "Connector" units imported successfully but the other 19 received an error: "The base unit does not belong to the schedule".

I've checked to make sure there's not a space afterward and also I exported the Unit Groups to show that the base unit does in fact belong to the schedule (third image attached)

What gives?

Unit-Groups.pngBulk-Cable.pngdescription.png

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi

    Importing units and unit groups are not supported. While creating the unit groups the system also assigns unit to unit group - which actually at this point creates a unit assigned to it with a unique guid. Hence the import of both unit and unit group would fail.

    There are cumbersome workarounds but not recommended.

    Mox

  • Gene Glenn Profile Picture
    125 on at

    I'm not sure exactly, but seems you can only have a single base unit defined per Unit Group.  Are you trying to Import multiple base units into 1 Unit Group?

  • crham Profile Picture
    390 on at

    You say that pretty confidently and I like that so it seems like it MIGHT be true.  I was able to successfully import Unit Groups and even SOME unit's but then others failed.  Nothing I saw could help me understand it so I am going to assume your information might be accurate, but will hold out for any further definitive evidence.  :)

  • crham Profile Picture
    390 on at

    You are correct about single base unit per Unit Group.  However, did you not look at the attachments?  They answer your question.  I am not importing multiple base units.

  • crham Profile Picture
    390 on at

    Who'da thunk that a database program would have potential to NOT be able to import data into it's tables...beyond me.

  • Suggested answer
    Moximox Profile Picture
    2 on at

    Hi

    Please see url below for comment in previous forum thread from mvp stating it is not supported which confirms my already suggested answer.

    community.dynamics.com/.../369102

    Please mark my answer if you find it helpful.

    Mox

  • crham Profile Picture
    390 on at

    ...except that was like from 7 years ago.  ...I'd be very disappointed if that hasn't gotten resolved by now.

  • Suggested answer
    Moximox Profile Picture
    2 on at

    Sorry it hasn’t. I deal with this issue each project. I have considered building some workarounds myself but it hasn’t been worth it so far. Issue is that unit groups require units when being created. Therefore when you create unit group you are in fact creating also a unit connected. Then you try to import same unit but this time it won’t have the same guid as the one that was created by the system when unit groups were created.

  • crham Profile Picture
    390 on at

    Thanks for answering.

    One follow up set of questions.

    So importing Unit Groups is fine, the key issue is importing the Units for those groups in the same import is the challenge?

    If the lookup being done is by name though I don't understand why it would be an issue.

    Regardless, if we imported Groups and then pulled the ID from each groups default unit and then did a separate import of Units shouldn't that work?

  • Moximox Profile Picture
    2 on at

    Correct because you can’t change the guid for the already created unit group with the unit you wish to import in your second step. 

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 57 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 34 Most Valuable Professional

#3
Scott Jackson UK Profile Picture

Scott Jackson UK 22

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans