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?