Fixed – (action:Skip) failed validation for reason code: LookupRecordNotAvailable in Configuration Migration (DataMigrationUtitliy.exe) in Dynamics 365 (CRM)

Recently while trying to migrate configuration records, we started getting warning in CRM Configuration Migration tool – “Completed importing x of x, x queued for second pass updates” for multiple entities.

Looking in the log we got the below error detail

“ImportEntity – Result: True – Entity: msdyusd_agentscriptaction – Adding msdyusd_agentscriptaction to the reprocess List as field owningbusinessunit with value aeb9a12b-dd3b-e711-80fb-5065f38b5691 – LookupEntity businessunit and Record Id dac37a7f-8e3c-e311-87f2-00155dd8d60b () – (action:Skip) failed validation for reason code: LookupRecordNotAvailable

Finally, we figured out that the records that were failing were owned by the system user, whose roles we had recently removed and had set its access mode as Administrative.

Assigning appropriate security role and setting access mode to Read-Write for that particular user, ensured that all the records that were owned by that user were migrated successfully.

Hope it helps..


Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

Share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s