Skip to content

ResourceManagement ResourceGroup - Can not track the deletion of a resource group delete operation #26717

Open
@antovska14

Description

@antovska14

Hello!

I've been developing an API for some Azure resources - a representation of the CRUD operations.
As it goes for Resource Groups, I want to call the delete method, and then check the state of the operation every 5 seconds for example. I am not sure how this is possible for this resource.
For example, for the Virtual Networks, I am getting this value in the response headers -> Azure-AsyncOperation': 'https://management.azure.com/subscriptions/<sub_id>/providers/Microsoft.Network/locations/eastus/operations/<op_id>?api-version=2022-07-01'

And then I can make requests to this URL and wait for the operation to be finished. I'm not getting the same thing for Resource Groups.

Is there any way to track the operation?

Thanks!

Best regards,
Dijana

Metadata

Metadata

Assignees

No one assigned

    Labels

    NetworkService AttentionWorkflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions