How to clean up all the assets ingested from SAP S4HANA

Dhanoordaran V 290 Reputation points
2026-07-21T10:47:56.3433333+00:00

Need to delete all the assets (around 1.6 million) from SAP S4HANA, please explain how to do it.

Planning to re-register and scan again once we have 0 assets from SAP S4HANA

Microsoft Security | Microsoft Purview

Answer accepted by question author
Manoj Kumar Boyini 19,590 Reputation points Microsoft External Staff Moderator
2026-07-21T13:48:13.9466667+00:00

Hi @Dhanoordaran V

Deleting the scan or re-registering the SAP S/4HANA source will not remove the assets that have already been ingested into Microsoft Purview. As documented in the SAP S/4HANA connector documentation:

"Deleting your scan does not delete catalog assets created from previous scans."

Additionally, SAP S/4HANA currently does not support automatic deletion detection, so if objects are deleted from the SAP source, a subsequent scan will not automatically remove the corresponding assets from Microsoft Purview.

For your scenario of approximately 1.6 million assets:

If all SAP assets are organized under a common parent asset in the catalog hierarchy, deleting the parent asset will also delete all of its child assets.

For a cleanup of this scale, deleting assets individually through the portal is not practical. Using the Microsoft Purview Data Map (Apache Atlas) REST APIs to perform a bulk deletion of the catalog assets is the most practical approach.

After confirming that the assets have been removed from the catalog, you can re-register the SAP S/4HANA source (if required) and run a new Full Scan to rebuild the metadata.

Microsoft documentation:

If you can confirm whether all 1.6 million assets belong to a single SAP S/4HANA registered source/collection, we can advise whether deleting the parent asset is sufficient or whether a bulk API-based cleanup is required.

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Oldest
  1. JUNIOR SIPILANYAMBE 115 Reputation points
    2026-07-21T10:50:13.48+00:00

    For that volume of assets, a bulk cleanup is usually preferable to deleting them individually. If you're planning a full re-registration and rescan, it's worth confirming the recommended cleanup method with the Microsoft Purview team first, as they may have supported bulk deletion or source deregistration guidance to avoid orphaned metadata or inconsistencies.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.