Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Closing a D365 Incident using the ADF Copy Activity

(1) ShareShare
ReportReport
Posted on by 6
Hi All
I have migrated a number of legacy Incidents into D365.
These were migrated with an "Active" state code but now need to be resolved. I 
When the Incident is resolved using the UI it creates an incidentresolution and associated activity record.
The incidentresolution record has the following attribution.
 
activityid activitytypecode activitytypecodename    incidentid regardingobjectid regardingobjectidtype    resolutiontypecode resolutiontypecodename statecode     statecodename statuscode statuscodename subject
 
<activityguid> incidentresolution Case Resolution <incidentguid>  <incidentguid> incident 5 Problem Solved 1 Completed 2 Closed Completed Case

However, when I create a similar recordset and try to create the incidentresolution record using the ADF Copy Activity I get the following error:
The provided target: 'incident' is not a valid target of field: 'regardingobjectid'.
Valid targets are: 'account;bookableresourcebooking;bookableresourcebookingheader;bulkoperation;campaign;campaignactivity;entitlement;entitlementtemplate;interactionforemail;knowledgearticle;knowledgebaserecord;lead"

What am I missing in order to resolve the D365 incident?
Any help is greatly appreciated.
  • Amit Katariya007 Profile Picture
    Amit Katariya007 10,203 Super User 2025 Season 1 on at
    Closing a D365 Incident using the ADF Copy Activity
    Correct. Because once you will call resolve case class method it will resolve the case on behalf of you from the code.
     
  • PD-21100238-0 Profile Picture
    PD-21100238-0 6 on at
    Closing a D365 Incident using the ADF Copy Activity
    Hi Amit
    I believe the status of the case (incident) cannot be updated directly -
    this needs to occur through a call to CloseIncidentRequest which effectively creates an incidentresolution record.
    (as per the accepted answer in the post you provided).
     
  • Suggested answer
    Amit Katariya007 Profile Picture
    Amit Katariya007 10,203 Super User 2025 Season 1 on at
    Closing a D365 Incident using the ADF Copy Activity
    Also u can not create incident resolution record....u have to change the status of case i.e. incident then it will automatically create incident resolution record....
  • Suggested answer
    Amit Katariya007 Profile Picture
    Amit Katariya007 10,203 Super User 2025 Season 1 on at
    Closing a D365 Incident using the ADF Copy Activity
    Hello User,
     
    Please refer below thread which is having same requirement.
     
     
    Thank you,
    Amit katariya

Under review

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

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,401 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans