Wednesday, August 9, 2017

Date Time value in Plugin

In the plugin values are retrieved from CRM are in "UTC" format.

Value set in the plugin or console application are based on the date time property. If the date time property is not set as 
"UTC" then values converted as UTC and saved in the database.

If  the date time property is set as "UTC" then it will save as "UTC".



Configure SetSPN for Dynamics CRM ADFS implementation

Configure SetSPN for Dynamics CRM ADFS implementation

The below SPN configuration works to open internal(automatically login) and external URL ADFS and also able to open report both custom and standard report in CRM.

Infrastructure:

The below server are used for Dynamics CRM.

ComputerName Ip Address Computer name Full Computer name
CRM server  10.0.5.40 CRM01 CRM01.CFC.Com
ADFS server  10.0.5.43 ADFS01 ADFS01.CFC.Com
SQL server   10.0.5.46 SQL01 SQL01.CFC.Com

Service Accounts:

Server Name Service Account Name
CRM Server CRM_APP_SVC_PROD
ADFS Server CRM_ADFS_SVC_PROD
SQL Server CRM_SRS_SVC_PROD

Wild Card Certificate:

  • *CFC.org


FederationService Name:
Federation service name is provided at the time of install ADFS in the server.

  • FS2016


CRM Application server SPN Details:


CRM ADFS Server SPN Details:




Tuesday, August 8, 2017

An input for 'parentcustomeridtype' field is required in order to process lookup field 'parentcustomerid' correctly. The input value should be one of the following entity names, or its corresponding entity type code in integer format: 'account', 'contact'.

An input for 'parentcustomeridtype' field is required in order to process lookup field 'parentcustomerid' correctly. The input value should be one of the following entity names, or its corresponding entity type code in integer format: 'account', 'contact'. 


Solution:
This error will occur when you map the "parentcustomerId" to CRM destination using text lookup but "parentCustomerId" field is customer dataType it contains both account and contact id. It will decide based on the "parentCustomerIdType" field.



In order to solve the issue we would need to map that field in the CRM destination


Monday, August 7, 2017

Check whether dll is 32 or 64 bit

Sn Path:C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin>CorFlags.exe D:\Source\Data\HelperUtility.dll

Download CorFlags Tool

To Determine the type of dll:
Any CPU: PE = PE32 and 32BIT = 0
x86 bit: PE = PE32 and 32BIT = 1
64-bit: PE = PE32+ and 32BIT = 0


Check dll is signed using SN.exe tool

Sn Path:C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin
sn -v D:\Source\Data\HelperUtility.dll
Download SN Tool

If it is signed then: