Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2022 Release Wave 2Check out the latest updates and new features of Dynamics 365 released from October 2022 through March 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
Experiencing an issue in CRM2011 where the Campaign Activity cannot be deleted (error "Cannot Delete Because Record In Use"). I cannot find any System Jobs or other processes that are running against it.
I'm not sure exactly how the client achieved the current state, but they distributed the Phone Call campaign activity and have all failures with the Reason "Items cannot be added or removed from closed or canceled activities." I've tried opening the activity back up, but that doesn't seem to help.
The log file doesn't really offer up much information either. Any ideas?
<ErrorCode>-2147220970</ErrorCode> <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" /> <Message>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #8377DDDB</Message> <Timestamp>2015-10-26T21:34:23.6466549Z</Timestamp> <InnerFault> <ErrorCode>-2147220693</ErrorCode> <ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" /> <Message>This record is currently being used by Microsoft Dynamics CRM and cannot be deleted. Try again later. If the problem persists, contact your system administrator.</Message>
Did you have any luck resolving this issue, I'm currently experiencing the same problem, I think I've resolved it before by deleting all the activities created against the campaign activity, but I can't see an easy way to delete 17 thousand emails (250 at a time).
Any assistance would be greatly appreciated.
Have a look at your navigation menu to the Connections - Make sure you have no Contact - Campaign Activities links
Also I would make sure that the lookup to campaign is also blank
No, I never did find a solution for this. In my case, all of the Activities were Failures so there wasn't anything in particular to delete other than the Campaign Activity itself so we just left it as-is.
If you are still able to delete the individual Activities, you could probably run a Bulk Delete job with the Campaign Activity parameters to delete all 17,000.
I would recommend using this query to delete Dynamics CRM campaign activity data: skyvia.com/.../delete-campaign's-table-data
Business Applications communities