I've created a custom target mapping for the purpose of contacting a custom recipient schema, that generated new schemas for tracking, exclusions, broadlog, appsubscriptions etc.
What would be the correct approach to delete the target mapping and everything linked to it?
I've tried deleting the target mapping and it wont let me as it says there is a delivery linked to it, I then tried to delete the delivery and the error states that there is a target mapping referencing it, how do you get out of this loop?
May be at first you might have to consider deleting the tracking logs data of the deliveries that are sent.
Like :- trackingRCP data , and then tracking log tables, which are actually linked to the deliveries, and then deleting the deliveries would work , but need to make sure the deletion is happening in the correct sequence otherwise the tracking and the data clean up workflow (OOTB workflows) would start to fail.