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 :
Microsoft Dynamics CRM (Archived)

"The Status or Status Reason of the Microsoft Dynamics CRM Record Could Not Be Set"

(0) ShareShare
ReportReport
Posted on by 1,799

Hi, 

I'm importing roughly 3,500 cases into a new system from 2011. Nearly all of these are now resolved or canceled, with around 34 still active. A lot of the resolved cases have odd values for 'Status Reason'. What I think must of happened is that someone added a load of Case Status Reason values a long time ago and subsequently they were deleted over time. However, the cases that were resolved when the Status Reason values were active in the system have the value locked into their Status Reason field. 

Now as I'm using the import wizard I have catered for this by adding all of the possible Status Reason values into the target system, I map them all within the import process, but I still get the error "The Status or Status Reason of the Microsoft Dynamics CRM Record Could Not Be Set". I can't seem to find a way around this error. I don't even need the status reason to be set on the resolved cases. I just need to get them in to the new system.

The 'Status' field appears to map fine, with just the three, Active, Resolved, Canceled. So I think it's more likely an issue with Status Reason.

Any ideas? Or even a workaround solution so I can get them in.

Thanks

*This post is locked for comments

I have the same question (0)
  • JDMCRM Profile Picture
    1,799 on at
    RE: "The Status or Status Reason of the Microsoft Dynamics CRM Record Could Not Be Set"

    After doing a little more digging, this error seems to be associated with Resolved cases only. In Progress and Canceled appear to be fine. The error description actually says, "the record was created but the state could not changed to the target value". 

    I wonder if it's the the State causing the error and not the Status Reason. Some of the resolved cases are importing as partial failures and are switched from there import status of Resolved to Active. 

  • Verified answer
    ScottDurow Profile Picture
    21 on at
    RE: "The Status or Status Reason of the Microsoft Dynamics CRM Record Could Not Be Set"

    The issue is that you cannot create a record in any other state other than active - you will need to import another custom flag field and make a workflow that closes the case if the flag is set.

  • JDMCRM Profile Picture
    1,799 on at
    RE: "The Status or Status Reason of the Microsoft Dynamics CRM Record Could Not Be Set"

    Thanks Scott appreciate the response. Will give this a go.

  • Community Member Profile Picture
    on at
    RE: "The Status or Status Reason of the Microsoft Dynamics CRM Record Could Not Be Set"

    Awesome, thanks Scott, I was also having the same issue.  

  • Eric Hula Profile Picture
    25 on at
    RE: "The Status or Status Reason of the Microsoft Dynamics CRM Record Could Not Be Set"

    I'm having the same exact problem. However, we've already successfully imported thousands of Account, Contact, Lead, and Opportunity records in CRM Online that are in the Inactive state. So you absolutely can import a deactivated record into the CRM database. I don't understand why Cases specifically are complaining about ErrorInSetState and why partially imported records are now in an active state. I may have to open a ticket for this.

    For reference, I'm migrating from CRM 2013 On Prem to CRM Online.

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans