Unable to Delete Failed Purchase of Domain Name

GLV 0 Reputation points
2026-06-29T16:11:05.7466667+00:00

I tried to purchase a Custom Domain - It Failed and had the email to say it had failed.

Still shows in resources and cant delete it

Tried all the ways online - Seems its stuck in a billing / deployment loop-

isSoftDeleted": false,

"nameServers": [],

"privacy": false,

"provisioningState": "InProgress",

"readyForDnsRecordManagement": false,

"registrationStatus": 0,

"subStatus": "FAILED_SETUP"

I have since purchased it elsewhere and cant use it as Azure is still showing it

Azure Files
Azure Files

An Azure service that offers file shares in the cloud.


1 answer

Sort by: Most helpful
  1. Christos Panagiotidis 3,551 Reputation points
    2026-07-17T13:05:59.6533333+00:00

    The object you are seeing is a failed App Service Domain resource under Microsoft.Web/domains. It is not the registrar ownership of the domain, so deleting it will not affect the copy you purchased elsewhere or its external DNS.

    First open the failed App Service Domain resource, check Locks, and remove any Delete lock. Then use Cancel purchase or Delete from Overview.

    If deletion still fails while provisioningState remains InProgress and subStatus is FAILED_SETUP, try deleting the exact resource ID from Azure CLI:

    az resource delete --ids <full-resource-id>

    If that returns Conflict, OperationInProgress, or the resource immediately reappears, stop retrying. The Microsoft.Web resource provider has a stuck purchase/provisioning record that only Azure support can clear. Open a subscription-management or App Service support request and include the full resource ID, failed deployment name, operation/correlation ID, UTC timestamp, and the JSON state you posted. Ask specifically for backend cleanup of the failed Microsoft.Web/domains resource and confirmation that no charge completed.

    You do not need to remove Entra users, applications, or DNS records; those steps apply to a different type of custom domain. You can use the externally registered domain by configuring its DNS and adding it as a custom hostname to your App Service.

    Was this answer helpful?

    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.