How to delete a subscription's resource group with falcon namespace

Ailing Ji 0 Reputation points Microsoft Employee
2025-09-23T06:28:05.59+00:00

My goal is cancelling the subscription. I have a PME subscription called "Bing Chat" with a resource group named "bing-chat." I'm unable to delete this resource group because the falcon namespace "bing-chat" exists.

This screenshot shows my attempt to delete the resource group, which was unsuccessfulimage (8)

I'm owner of this subscription "Bing Chat", but I don't have permission to delete resource group "bing-chat" and falcon namespace "bing-chat".

Actually, this namespace has been deleted in Falcon service repo. PR:
https://msasg.visualstudio.com/Falcon/_git/FalconServicesRegistry/pullrequest/5968783?_a=files&path=%2Fnamespaces%2Fbing-chat

But it still exists in Azure:

https://portal.azure.com/#@mspmecloud.onmicrosoft.com/resource/subscriptions/6ca6eeae-8737-47c6-856a-6ebd7ec98fc7/resourceGroups/bing-chat/providers/microsoft.falcon/namespaces/bing-chat/overview

image (9)

Azure Resource Mover
Azure Resource Mover
An Azure service used for moving multiple resources between Azure regions.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Suchitra Suregaunkar 4,045 Reputation points Microsoft External Staff Moderator
    2025-09-23T09:44:10.4133333+00:00

    Hello Ailing Ji,

    Thank you for posting your query on Microsoft Q&A platform.
    To delete a resource group, you must first remove any underlying resource locks and backup data.

    When you delete a resource group, Resource Manager determines the order to delete resources. It uses the following order:

    All the child (nested) resources are deleted.

    Resources that manage other resources are deleted next. A resource can have the managedBy property set to indicate that a different resource manages it. When this property is set, the resource that manages the other resource is deleted before the other resources.

    The remaining resources are deleted after the previous two categories.

    After Resource Manager determines the order, it issues a DELETE operation for each resource. It waits for any dependencies to finish before proceeding.

    User the below commands to delete resource group/resources

    resource group

    To delete a resource group, you need access to the delete action for the Microsoft.Resources/subscriptions/resourceGroups resource.

    If you have the required access, but the delete request fails, it might be because there's a lock on the resources or resource group. Even if you didn't manually lock a resource group, a related service might automatically lock it. Or, the deletion can fail if the resources are connected to resources in other resource groups that aren't being deleted.

    Thanks,

    Suchitra.

    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.