Identify deleted entity and attributes in Audit Summary View – Dynamics 365


We recently had an issue where all the data for certain entities got deleted, which is only possible if that entity has been deleted, which could have been triggered by the deletion of the managed solution.

As it was on-premise, we started our analysis with the wonderful Solution History plugin of XrmToolBox.

The Solution History had the information of new managed solution being imported.

But it didn’t capture the delete event for the solution or the entities.

The good thing was that we had the audit enabled, which helped us to figure out the entities deleted and account that was responsible for this delete (accidental).

For online, it is straightforward to track the solution import and delete event, now with the Solution History available in the product itself.

Another thing to remember with regards to the deletion of the managed solution is,

If Solution A has entity A and entity B and this has been imported as managed in Production first, followed by Solution B that has entity A only.

If Solution B is deleted only Entity A will be deleted as entity B is still being referenced by Solution A.

Check the below blog post to understand the installation order and solution layering.

https://nishantrana.me/2018/11/11/installation-order-for-solutions-patches-in-dynamics-365-customer-engagement/

https://debajmecrm.com/2019/05/23/unearthing-solution-layering-feature-of-dynamics-365-how-are-the-good-old-concepts-of-patching-and-cloning-related-to-it/

Hope it helps..

Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

One thought on “Identify deleted entity and attributes in Audit Summary View – Dynamics 365”

Please share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.