web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
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)
  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Moderator on at
    Hello User,
     
    Please refer below thread which is having same requirement.
     
     
    Thank you,
    Amit katariya
  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Moderator on at
    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....
  • PD-21100238-0 Profile Picture
    6 on at
    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).
     
  • Amit Katariya007 Profile Picture
    10,409 Moderator on at
    Correct. Because once you will call resolve case class method it will resolve the case on behalf of you from the code.
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 165

#2
ManoVerse Profile Picture

ManoVerse 161 Super User 2026 Season 1

#3
Zhilan Profile Picture

Zhilan 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans