Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Contact cannot be activated

Posted on by 15

Hello guys, 

   Recently I have encountered a problem, some of the contacts in my organization are switched to inactive and I cannot switch them back to active again. I checked the plugins triggered when I save the contact but they give the same error without logging anything else. 

Since case is resolved and read-only, only these attributes are updatable : "ownerid", "owneridyominame", "owneridtype", "owninguser", "statecode", "statuscode", "modifiedon", "modifiedby", "modifiedonbehalfby", "owningbusinessunit" , "processid". If you need to edit other fields, please reactivate the case.

This is the problem I have, the contact I am trying to reactivate has several cases some of which are active and not resolved or read-only.

Any help is appreciated.

Thanks in advance,

Mirvin

  • Verified answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: Contact cannot be activated

    Hi,

    You should try to troubleshoot something like this

    1. Get source of the plugin first

    2. Review the code add/modify based on requirement (it should not deactivated until there is other cases associated with this... etc)

    3. Reregister your plugin

    4. Test

    You can also test your logic first in the Console app to make sure it correct.

    Let me know if I am my understand is not correct

  • Mirvin Profile Picture
    Mirvin 15 on at
    RE: Contact cannot be activated

    Hi Mahen, I know there are custom plugins that throw the error. The problem is that the contact is deactivated and it wont be reactivated while throwing that error. My plugins do not log anything except the error and I cannot find where is the root of the problem.

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: Contact cannot be activated

    Hi,

    It seems custom plugin, you need to get source code and need to modify it based on your requirement if there no active case only then deactivate contact.

    Thanks

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans