Skip to main content

Notifications

Announcements

No record found.

Customer Insights - Journeys forum
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Error trying to insert purpose type consent records using ADF copy activity

Posted on by 3
Hello,
 
I am trying to move consent records from an on-prem source system into dataverse (CIJ). I am specifically trying to create Purpose type consents. I followed the instructions to setup mapping fields for a lookup column as per microsoft documentation using a copy activity in Fabric pipeline. For the purpose lookup (msdynmkt_purposeid) i am mapping to the msdynmkt_purposeid field and msdynmkt_purposeid@EntityReference to which i am passing the value "purpose". As per microsoft documentation, i should be passing the table name.
 
Passing the entity reference as an additional column in the source:
 
 
I have tried the table name and the schema name (msdynmkt_purpose) and in both cases i am getting the error:
 
ErrorCode=DynamicsOperationFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Dynamics operation failed with error code: -2147220989, error message: Invalid type for entity id value.,Source=Microsoft.DataTransfer.ClientLibrary.DynamicsPlugin,''Type=System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]],Message=The creator of this fault did not specify a Reason.,Source=Microsoft.DataTransfer.ClientLibrary.DynamicsPlugin,'
 
Could someone please suggest what could be incorrect here?
 

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans