Unable to delete MariaDB instance

Salvador 0 Reputation points
2025-09-24T15:45:20.6466667+00:00

I can't delete a MariaDB instance. It fails with error

No registered resource provider found for location 'francesouth' and API version '2018-06-01-preview' for type 'servers'. The supported api-versions are '2018-06-01-preview, 2018-06-01'. The supported locations are 'australiacentral, australiacentral2, australiaeast, australiasoutheast, brazilsouth, canadacentral, canadaeast, centralindia, centralus, eastasia, eastus2, eastus, francecentral, germanywestcentral, japaneast, japanwest, jioindiawest, koreacentral, koreasouth, northcentralus, northeurope, southafricanorth, southafricawest, southcentralus, southindia, southeastasia, norwayeast, swedencentral, switzerlandnorth, uaenorth, uksouth, ukwest, westcentralus, westeurope, westindia, westus, westus2, westus3'.

Other operations on that resource also fail, like stopping replication from main instance or move resource to different region.

Azure Database for MariaDB
{count} votes

1 answer

Sort by: Most helpful
  1. Abhisek Mishra 1,020 Reputation points Microsoft External Staff Moderator
    2025-09-25T14:21:39.8333333+00:00

    Hi Salvador,

    Thank you for sharing your query on Microsoft Q&A!

    It looks like you're encountering a location-based issue when trying to delete or manage a MariaDB server in Azure. The error message suggests that MariaDB is not supported in the region, and therefore the resource provider cannot process your request using that location and API version.

    Please make sure the resource provider is registered in your subscription. Navigate to your subscription and under Resource Providers check for Microsoft.DBforMariaDB Register-AzResourceProvider -ProviderNamespace Microsoft.DBforMariaDB

    Use a supported region for creating new MariaDB instances or migrating existing ones. https://learn.microsoft.com/en-us/previous-versions/azure/mariadb/quickstart-create-mariadb-server-database-using-azure-powershell

    If the resource appears to be stuck and cannot be managed or deleted normally, consider using Azure Resource Explorer or Azure CLI/PowerShell to manually delete it. https://learn.microsoft.com/en-us/previous-versions/azure/mariadb/quickstart-create-mariadb-server-database-arm-template?tabs=CLI#clean-up-resources

    If this answers your query, please let us know. If you still have questions, please let us know what is needed in the comments so the question can be answered.

    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.