web
You’re offline. This is a read only version of the page.
close
Skip to main content
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.
I have the same question (0)
  • Amit Katariya007 Profile Picture
    10,409 Super User 2025 Season 2 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
    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
    10,409 Super User 2025 Season 2 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
    10,409 Super User 2025 Season 2 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 179

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 129 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans