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

Soultion Import Error on CRM Online 9.0

(0) ShareShare
ReportReport
Posted on by 490

Hi Guys,

I am trying to import the solution from CRM On-Premise 8.2 to CRM Online 9.0. Unfortunately, I'm facing issue for each entity import. It gives import failure message as "Inavlid Argument" Following is the error log message:

"Invalid Argument. : System.ArgumentNullException: Value cannot be null. Parameter name: Could not find PrimaryField for entity "entityname".

Please help me out on this. Thanks.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at

    Hi Vishal,

    Never seen this error message before. Did you mask the "entityname" or it was some real entity name( the culprit entity)

    if error is same as above , i.e not mentioned any attribute or entity name, I would suggest you raise a ticket with MS as its very internal error. Otherwise do below.

    Try to minimize the number of entities you are importing i.e break them to 50% and import see if that is succesfully imported. if not break it down further.

    doing this we can narrow down the problem.

  • vishal bagadia_crm Profile Picture
    490 on at

    Hi Rawish,

    I also saw such error for the first time. "entityname" is the masked name. Let me explain you the process in detail.

    The customizations which I am trying to export, are the components of Managed Solution. To export those components, I ran a SQL script on the Managed Solution that makes the solution as Unmanaged.  Then I created one solution and added single entity with Primary Field.

    I am getting the same error even for the soultion with single entity.

  • Suggested answer
    Sreevalli Profile Picture
    3,256 on at

    Hi Vishal,

    I think while converting you lost Primary field of an entity(may be all). check in the Customization.xml if you can see the primary/guid field.

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

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans