CRM 2015 online Solution import fails due to Business Rules

Sometimes exporting and importing solutions between instances in CRM can be trickier than expected.

One such instance of this can occur when using Microsoft Dynamics CRM 2015 On Premise – build 7.0.2.53 in particular. You may find that when you attempt to import a solution that has been exported from your sandbox instance that the import fails and you receive and error similar to; Error is 0x80040217 processtrigger With Id = [GUID] Does Not Exist

The Fix:

Basically there are a few different issues that may be fixed by applying subsequent roll-up patches, but if you are stuck for the time being you could solve the problem by opening the Business Rules in your source solution and setting the “scope” to  “All Forms”.

  1. Open your solution
  2. Open the entity with affected Business Rules
  3. Deactivate the Business Rules and change the scope to All Forms
  4. Re-activate the Business Rules
  5. Publish you solution
  6. Export the solution
  7. Import the solution into your target instance

Hope this helps!

Advertisements

Upgrading MS Dynamics CRM 2011 to CRM Online

For organisations still operating Microsoft Dynamics CRM 2011 a move to the cloud could be appealing, but what is involved in upgrading to CRM Online from CRM 2011?

I have previously blogged on items to consider when contemplating moving from MS Dynamics CRM on premise to CRM Online via Office 365. Once you have had the green light to move however, what exactly is involved in getting there?

The move isn’t as simple as backing up a solution, or migrating a backup of your database, but it can be broken down into a few suggested steps;

  • Assess – Your Current State
  • Prepare – Customisations and Data
  • Upgrade – Your On Premise version
  • Review – The updates
  • Migrate – The Solution and your Data

In the following sections I will attempt to provide a little more information on these steps based on current experience and the CRM upgrade path.

  1. Assess

    It is important you take time to assess the current implementation of CRM to identify any current issues which could affect your ability to upgrade successfully.

    It is also advisable that any custom elements such as; JavaScript, Plug-ins, Reports and Third Party Tools are assessed for suitability prior to upgrading CRM.

    Custom JavaScript will need to be updated and optimised for later versions of MS Dynamics CRM due to code changes and cross browser support*, the size of this task will vary depending on the volume of JavaScript involved in your solution. There is a custom code validation tool that can be utilised in this task which can be downloaded here. You can find more information on checking JavaScript here via msdn.

    Third Party Tools & Integrations will need to be assessed in order to decide if they can be replaced with the latest CRM Online features or indeed if they are supported for CRM Online and if they themselves require an upgrade.

    Integrations could benefit from the new CRM Web API, for information on the API and limitations please see this MSDN article; https://msdn.microsoft.com/en-gb/library/mt628816.aspx

    Reports may not be compatible with CRM Online, for example there may be reports built in SSRS, which is not available with CRM Online in Office 365. But you may be able to agree a strategy to replace some of these in Power BI.

    Data volumes will be an important part of the assessment; what can be cleansed? What data is required? How much storage will you need to purchase? How will attachments and documents be managed?

    *It is very important to identify which browsers are going to be used/suggested for users when accessing CRM Online as updating the legacy JavaScript to support many different browsers and the subsequent testing could be time consuming and/or costly.

  2. Prepare

    Once you have assessed the size of the task at hand it is time to begin the preparation for the upgrade – the data will be crucial to your end result, so it may be a good idea to start a data cleanse as soon as possible to ensure it is completed on time.

    If possible take a back-up of the current Production or an up to date Test instance
    and use this as an assessment/development instance. This means your current Production instance will continue unaffected until you are ready to move.

    Before the upgrade begins, obtain any product keys required. In later versions of Microsoft Dynamics CRM the server and client keys are combined so that only one key is required. It may be a good idea to review the need for a Bing Maps key for CRM too, keys can be generated here; https://www.bingmapsportal.com

  3. Upgrade

    There is no supported direct upgrade path to CRM 2016/Online from CRM 2011, therefor the upgrade will involve multiple steps in order to reach your target version. To upgrade you will need to take the pre-prepared version of CRM 2011 to CRM 2013, then 2015 and finally to CRM 2016.

    migration

    This means you will create a CRM 2013 environment with an instance of SQL Server that is supported, such as SQL Server 2014. This step may take some time depending on the size of the CRM database involved, this is because of the number of significant changes to the database when moving between CRM 2011 and 2013. You may want to review the upgrade at this point to check for any issues and insure the latest CRM 2013 roll-up is installed, if you are happy then you can move on to the upgrade to CRM 2015 (use the latest update version) and then finally 2016.

    For more on the MS Dynamics CRM Upgrade path please see the following article; https://technet.microsoft.com/en-us/library/hh699716.aspx

  4. Review

    After any successful upgrade of the CRM Server application you will then no doubt want to review the form layout, fields and workflow processes, as well as testing and updating any necessary JavaScript. The exact steps to take should be well defined from your assessment phase.

    Form layouts, fields capabilities and navigation of the application in the web UI changed significantly between versions so user acceptance testing and end user involvement in the review and configuration is key to successfully upgrading your solution.

  5. Migrate

    Once you and your user groups are happy with the changes it is time to migrate to CRM Online in the Office 365 cloud. This will likely involve the following;

    – Creating a new CRM Online instance in your Office 365 tenant
    – Exporting and Importing the CRM 2016 Solution from your On Premise version
    – Migration of cleansed CRM data (a third party tool may be required*)
    – Update and Test CRM plug-ins for CRM Online
    – Test your upgraded CRM solution (yes again)

    There may be some additional complication added to this step for any integrations that are affected by the move to CRM Online. Where possible this should be factored in using the CRM Web API.

    In order to allow users to authenticate with CRM Online using their organisational Active Directory credentials your administrators can enable Active Directory Sync’, single sign on can also be implemented using ADFS.

    *The size of the task involved in migrating the data to CRM Online will vary depending on the volume of records and if activities and other more troublesome items such as attachments are required – the recommendation is not to bloat the CRM Online database  with attachments, it may be a good idea to consider SharePoint online for documents storage.

Hopefully this post allows you to get started on your own upgrade plan, check out MSDN for lots more useful information and speak to your Microsoft Partner who can help you through the process.

Happy CRM’ing.

 

 

 

 

 

Microsoft’s mobile client for Dynamics CRM 2015 vs. Resco Mobile CRM (Update)

Useful for those considering a Resco solution for Dynamics CRM direct from the Resco blog. Fine work 🙂

resco.net

Microsoft Dynamics CRM 2015 mobile client versus Resco Mobile CRM

Over a year ago I published a comparison of two Dynamics CRM mobile clients: Microsoft’s mobile application (also known as MoCA) and Resco Mobile CRM.

People have been asking me for an updated version, so here it is.

What has changed in past year?

View original post 782 more words