Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

D365 CRM Trial environment is missing some standard entities such as opportunity, incident, campaign, list etc.. These entities can't be created programatically or migrated through a solution.

(0) ShareShare
ReportReport
Posted on by 5

We are in the middle of a 'Proof of concept' phase of migrating to online/cloud CRM from an onpremise - Hence the trial environment.

Our onpremise has standard entities such as account, contact, incident, campaign etc.. like any other that comes automatically with the installation.

We've developed a light migration tool to migrate and:

- Create missing entities, such as custom entities.

- Create all attributes on a given entity.

Everything is going fine in regards to creating missing entities and their attributes programatically via the CRM Web API, right until the program tries to create entities such as Incident, Opportunity, Campaign, List.. Because it concludes that they do not exist in the online Trial environment.

Trying to create these certain entities gives following error: "System.ServiceModel.FaultException`1: 'Failed to create entity with logical name campaign and object type code -1. Exception: Microsoft.Crm.CrmException: The schema name Campaign for type Entity is invalid or missing. Custom attribute, entity, entitykey, option set and relationship names must start with a valid customization prefix.The prefix for a solution component should match the prefix that is specified for the publisher of the solution."

This only happens on certain entities, as if the logical names 'Incident, Campaign, Opportunity etc..' is reserved and can't be used and yet do not exist in the trial environment and is nowhere to be found in default solution.

Trying to migrate through a solution just a single entity such as Incident can not be done either, due to other entities missing a lookup field/attribute to Incident so it gives the missing components error which makes perfect sense, because the lookup field on those custom entities to Incident can not be created, before Incident in itself is created.

How come entities such as Contact and Account exist, while others do not? They're all standard entities.

What is going on here?

Are we missing an installation of an app, that creates these entities?

Did we choose a wrong application for the trial environment?

  • Suggested answer
    temporaryuser Profile Picture
    temporaryuser 5 on at
    RE: D365 CRM Trial environment is missing some standard entities such as opportunity, incident, campaign, list etc.. These entities can't be created programatically or migrated through a solution.

    Thank you.

  • Gary Cook Profile Picture
    Gary Cook 180 on at
    RE: D365 CRM Trial environment is missing some standard entities such as opportunity, incident, campaign, list etc.. These entities can't be created programatically or migrated through a solution.

    Did you create a Customer Service Trial, these entities are part of Sales , so you should create a Sales Trial , you should be able to create the Sales Trial using the same trial credentials

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans