System entities like Activity Monitor Base and Microsoft Athena Trickle Feed Service Analytics in Dynamics 365 are system-managed entities, and data in these entities is typically used for internal processes, analytics, or monitoring. These entities are not meant for direct user interaction, and deletion options are limited.
Key Considerations Before Attempting Deletion:
1. Critical Functionality:
These entities might be tied to important internal features (e.g., analytics, background processes). Deleting data could disrupt functionality.
Ensure you fully understand the entity's purpose before attempting any modification.
2. System-Managed Entities:
Microsoft does not allow direct deletion of records or disabling these entities via the user interface or out-of-the-box tools.
Ways to Manage or Remove Data:
1. Deactivate Records (If Allowed):
Some system entities allow deactivation instead of deletion. Check if you can deactivate or close records to reduce clutter.
2. Bulk Deletion Jobs:
In some cases, you can create a Bulk Deletion Job to delete specific records:
Go to Settings > Data Management > Bulk Deletion Jobs.
Check if the entity allows you to select records for deletion.
Note: If the entity doesn't appear, it's likely because system entities are protected from deletion.
3. Custom Code (Plugins or API):
If deletion is required and supported, you can use the Web API or custom plugins to remove records programmatically:
Verify with a FetchXML query if the records can be accessed for deletion.
Use the DELETE operation in the Web API to remove records.
Example:
DELETE [Organization URI]/api/data/v9.2/entitylogicalname(recordid)
Caution: Ensure the entity supports this operation.
4. Power automated flows.
Get all the data of this entity and then run a for loop to delete those records.