Dynamics CRM

30/09/2019: If this is wrong, tweet me. Added some stuff for 9.0.
30/09/2019: Enhanced Security Configuration (https://tunecomp.net/disable-internet-explorer-enhanced-security-configuration-windows-server-2016/)

Download for Server: https://download.microsoft.com/download/B/D/0/BD0FA814-9885-422A-BA0E-54CBB98C8A33/CRM9.0-Server-ENU-amd64.exe

ODBC Driver: https://download.microsoft.com/download/D/5/E/D5EEF288-A277-45C8-855B-8E2CB7E25B96/x64/msodbcsql.msi

Download for SQL Server Native Client: http://download.microsoft.com/download/A/D/0/AD021EF1-9CBC-4D11-AB51-6A65019D4706/sqlncli.msi

Download for SQL CLI Tools: http://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x64/SQLSysClrTypes.msi

Download for SQL management objects: http://download.microsoft.com/download/F/E/D/FEDB200F-DE2A-46D8-B661-D019DFE9D470/ENU/x64/SharedManagementObjects.msi

Download for SQL Server 2016 SP2: https://www.microsoft.com/en-us/download/details.aspx?id=56836

Deployment Notes: HyperV – Standalone

  • Internal adapter
  • 12gb-16gb RAM.
  • 2x Cores
  • Configure IPV4 with 192.168.0.x IP address.
    • Use the default 255.255.255.0 subnet mask
    • set default gateway to same IP address. 192.168.0.x
    • Set the preferred DNS server to be the same as the IP address 192.168.0.x
  • Create new AD forest, 2016 type. CRMX.local.
  • Reboot as needed.
  • Create OU/Users for CRM/SQL deployment.
  • Install SQL Server 2016 and patch to SP2 as necessary. (Current user as administrator)
  • Set SQL Memory to be 60-70% of total allocated memory (Not necessary but recommended)
  • Install CRM pre-reqs from above.
  • Use required credentials for each service, apply to necessary groups (administrator will auto apply to all groups)
  • Fill out new org details.
  • Let installer run.

Note: Installation process is the same as previous editions.

Note: Windows Error Reporting Service is turned off by default for Windows Server 2016. Enable it. Also installing all the above will let the install run smootly.

Note: When the installer hits “Microsoft.Crm.Tools.Admin.InstallCrm.SystemsConvertedSolutionsAction” it takes a while to go through. Go have a coffee/tea/vape/cigarette.

November 8, 2018

Dynamics CRM v9 On Premises: Needed downloads for standalone deployment

30/09/2019: If this is wrong, tweet me. Added some stuff for 9.0. 30/09/2019: Enhanced Security Configuration (https://tunecomp.net/disable-internet-explorer-enhanced-security-configuration-windows-server-2016/) Download for Server: https://download.microsoft.com/download/B/D/0/BD0FA814-9885-422A-BA0E-54CBB98C8A33/CRM9.0-Server-ENU-amd64.exe ODBC Driver: https://download.microsoft.com/download/D/5/E/D5EEF288-A277-45C8-855B-8E2CB7E25B96/x64/msodbcsql.msi Download for SQL […]
November 2, 2017

Microsoft Dynamics 365 (online and on-premises) Update 2.2

Here you go.. https://support.microsoft.com/en-us/help/4046795/microsoft-dynamics-365-online-and-on-premises-update-2-2   Go deploy to UAT/Development.
October 13, 2017

Dynamics 365 – Account Entity JSON Schema

Below is the Dynamics 365 JSON Schema for the account entity. Input parameters are where the important things are. The reason not all attributes are listed […]
October 12, 2017

Dynamics CRM – Dyn365 Data (Online) to Azure (Online) to Dynamics 2016 on premise

No idea how this works. But it works. Registered a service endpoint via the CRM Plugin Registration Tool. Set the endpoint to be an Azure Service […]
October 9, 2017

Dynamics 365 – Import has encountered an error and has been canceled. Your system has been restored to its original state. This customization file contains a reference to an entity map that does not exist on the target system.

Ran into an interesting issue when trying to import a solution into both Dynamics 365 on premise and Dynamics 365 online. Background: Did some major tweaking […]
October 6, 2017

Dynamics CRM – Javascript Xrm.Page.ui.getFormType()

There are hundreds of blogs which show you this: Form Type Value Undefined 0 Create 1 Update 2 Read Only 3 Disabled 4 Quick Create 5 […]
October 5, 2017

CRM 2016 JS – ReferenceError: is not defined at eval (eval at RunHandlerInternal)

  [crayon-5dce1186b256f442219250/] Had an issue when attaching some code to the onload event on the leads entity. The TL;DR of the issue is that your code […]
October 2, 2017

Dynamics CRM 2016 – Create record with JavaScript

Original post here: https://365dynamicscrm.wordpress.com/2016/02/18/webapi-javascript-to-create-a-record/ [crayon-5dce1186b278a204902062/]   Going to make some assumptions that the account[“name”] can be set with Xrm.Page.getAttribute(“blah”).getValue(). There is a reason I’m not using […]
September 25, 2017

I know the feeling (Blog link)

I too, dislike being classified as a Dynamics Developer. Go read: This
June 5, 2017

Dynamics CRM – Creating an instance of the COM component with CLSID {080D0D78-F421-11D0-A36E-00C04FB950DC} from the IClassFactory failed due to the following error: 800401e4 Invalid syntax (Exception from HRESULT: 0x800401E4 (MK_E_SYNTAX))

TL;DR: Reboot your web front end and reboot where the deployment manager is located. EDIT: TL;DR-2: Make sure the services you’re trying to connect to are […]