Purge APIMs access at resource group level.

Ernest Aduboffour 20 Reputation points
2024-07-30T09:21:40.6+00:00

Is there a way to grant access to purge APIMs at the resource group level instead of the subscription scope level?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,448 questions
Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
973 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JananiRamesh-MSFT 29,261 Reputation points
    2024-07-30T13:37:18.23+00:00

    @Ernest Aduboffour Thanks for reaching out. As per this https://github.com/MicrosoftDocs/azure-docs/issues/94436 you will not be able to grant access to purge the APIM instance at resource group level.

    To purge a soft-deleted instance, you must have the following RBAC permissions at the subscription scope in addition to Contributor access to the API Management instance: Microsoft.ApiManagement/locations/deletedservices/delete, Microsoft.ApiManagement/deletedservices/read. please refer: https://learn.microsoft.com/en-us/azure/api-management/soft-delete#purge-a-soft-deleted-instance

    do let me know incase of further queries, I would be happy to assist you.


Your answer

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