Here is the activity logs for Instances_Delete:
There is no SQL MI that instance has been successfully deleted as well as the resource group that it was a member
nodata
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I successfully installed SCOM Managed Instance (MI) in Azure. However, when it was time to delete multiple resource groups supporting this project, I did not perform the deletions in the correct order. This may have caused the SCOM MI to generate an internal error, when cleaning up.
Steps Taken:
Attempted to force deletion of the resource using Cloud Shell.
--complete
using a empty template.json
file to remove the SCOM MI.Issue: Despite these efforts, the SCOM MI continues to generate an internal error, and I am unable to delete the SCOM MI resource and its resource groups.
Request: I need assistance in resolving this issue and successfully deleting the resource groups and SCOM MI.
Here is the activity logs for Instances_Delete:
There is no SQL MI that instance has been successfully deleted as well as the resource group that it was a member
nodata
Hi,
I was able to successfully remove the SQL MI and its separate resource group. The attempt to delete the SCOM MI and from its RG was also performed with failure which is the original request is how to force to remove it and RG both won't work. Again no SQL MI, AADDS, and network devices (e.g. NAT gateway, snet, and vnet) exist.
Here is the json failed logs: with masked ids
{
"authorization": {
"action": "Microsoft.Scom/managedInstances/delete",
"scope": "/subscriptions/subid/resourcegroups/rg-lab-dev-manageops-scommi/providers/Microsoft.Scom/managedInstances/MGLAB"
},
"caller": "******@oversightoperations.com",
"channels": "Operation",
"claims": {
"aud": "https://management.core.windows.net/",
"iss": "https://sts.windows.net/9c06c8cb-278e-42b9-8cde-1fd49ccf4728/",
"iat": "1741640777",
"nbf": "1741640777",
"exp": "1741658317",
"http://schemas.microsoft.com/claims/authnclassreference": "1",
"aio": "AXQAi/8ZAAAA8QfmySrvOjQH8iFpmGq0ZvkCP2U0NmI0sZNv/2cRZcSLO5Jtvo3UfHbNTbFChMOm9obm79JG7avzC5jTnysyH/bm8l6Hj7gP2zl7bfBblEA+v1r3Gdli0qcMvD5/bmb3JZjXWPg+3JxBNjfcOMAgnQ==",
"altsecid": "5::10032002F7939711",
"http://schemas.microsoft.com/claims/authnmethodsreferences": "pwd,mfa",
"appid": "04b07795-8ddb-461a-bbee-02f9e1bf7b46",
"appidacr": "0",
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress": "******@oversightoperations.com",
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "Dellanno",
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "David",
"groups": "groupid",
"http://schemas.microsoft.com/identity/claims/identityprovider": "https://sts.windows.net/8e2966a8-9090-4b11-983a-75defc9421b3/",
"idtyp": "user",
"ipaddr": "fd00::f293:6d20:100:a00:28a",
"name": "David Dellanno",
"http://schemas.microsoft.com/identity/claims/objectidentifier": "14c769d8-7f7a-4765-badd-87c6642f7ac2",
"puid": "puid",
"pwd_exp": "315319230",
"pwd_url": "https://productivity.secureserver.net/microsoft?marketid=en-US&email=david.dellanno%40oversightoperations.com&source=ViewUsers&action=ResetPassword",
"rh": "1.AWEBy8gGnI4nuUKM3h_UnM9HKEZIf3kAutdPukPawfj2MBNhARJhAQ.",
"http://schemas.microsoft.com/identity/claims/scope": "user_impersonation",
"sid": "sid",
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "lwfcLzveBUUFDeyebtCK7qeuChZFqIuBdP4WATPyMHs",
"http://schemas.microsoft.com/identity/claims/tenantid": "tenid",
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "******@oversightoperations.com",
"uti": "sLq1rnvZMUaULxla3aVbAA",
"ver": "1.0",
"wids": "62e90394-69f5-4237-9190-012177145e10,88d8e3e3-8f55-4a1e-953a-9b9898b8876b,b79fbf4d-3ef9-4689-8143-76b194e85509",
"xms_cc": "CP1",
"xms_edov": "true",
"xms_idrel": "1 32",
"xms_tcdt": "1730393120",
"correlationid": "dee5e84b-918b-4cc7-abb2-78f062bc62fb"
},
"correlationId": "dee5e84b-918b-4cc7-abb2-78f062bc62fb",
"description": "",
"eventDataId": "1754112a-b22c-42b7-9c71-281d1c615013",
"eventName": {
"value": "EndRequest",
"localizedValue": "End request"
},
"category": {
"value": "Administrative",
"localizedValue": "Administrative"
},
"eventTimestamp": "2025-03-10T22:03:13.1321439Z",
"id": "/subscriptions/subid/resourcegroups/rg-lab-dev-manageops-scommi/providers/Microsoft.Scom/managedInstances/MGLAB/events/1754112a-b22c-42b7-9c71-281d1c615013/ticks/638772409931321439",
"level": "Error",
"operationId": "105aa619-2f33-4fee-88c2-00a0f0c1199a",
"operationName": {
"value": "Microsoft.Scom/managedInstances/delete",
"localizedValue": "Instances_Delete"
},
"resourceGroupName": "rg-lab-dev-manageops-scommi",
"resourceProviderName": {
"value": "Microsoft.Scom",
"localizedValue": "Microsoft.Scom"
},
"resourceType": {
"value": "Microsoft.Scom/managedInstances",
"localizedValue": "Microsoft.Scom/managedInstances"
},
"resourceId": "/subscriptions/subid/resourcegroups/rg-lab-dev-manageops-scommi/providers/Microsoft.Scom/managedInstances/MGLAB",
"status": {
"value": "Failed",
"localizedValue": "Failed"
},
"subStatus": {
"value": "",
"localizedValue": ""
},
"submissionTimestamp": "2025-03-10T22:05:28Z",
"subscriptionId": "subid",
"tenantId": "tenid",
"properties": {
"statusMessage": "{\"status\":\"Failed\",\"error\":{\"code\":\"ResourceOperationFailure\",\"message\":\"The resource operation completed with terminal provisioning state 'Failed'.\",\"details\":[{\"code\":\"UnhandledException\",\"message\":\"An internal error occurred during execution.[]\"}]}}",
"eventCategory": "Administrative",
"entity": "/subscriptions/subid/resourcegroups/rg-lab-dev-manageops-scommi/providers/Microsoft.Scom/managedInstances/MGLAB",
"message": "Microsoft.Scom/managedInstances/delete",
"hierarchy": "tendid/mg-lab/subid"
},
"relatedEvents": []
}