Request failed - deleting an integration runtime
Developer created one test Self-hosted Integration Runtime to scan a couple of services on Microsoft Purview. Now, post the testing, we are trying to delete the SHIR, but it gets failed with status code 400. We already checked the scan and data sources, no further references. However, every time gets the below errors whenever try to delete IR.
Request failed with status code 400 Request ID: c0c5fb8b-2f74-4fac-aad8-c1d876e00d32 {"code":"BadRequest","message":"The document cannot be deleted since it is referenced by XXXXXXXXXXX-77ac-409e-a22f-d0ad195b2deb.","target":"/subscriptions/XXXXXXXXXXXX-43e5-bdf6-3a45b0a4fce9/resourceGroups/scanning-prod-southafricanorth/providers/Microsoft.DataFactory/factories/purview-XXXXXXXXXX6e72-40d8-80e5-8fda3e24b41a/integrationruntimes/SHIR-VMXXXXXXXXXX","details":null,"error":null}
Can anyone suggest how to troubleshoot and delete this Integration Runtime.