I've attempted to delete it from the Azure Resource Manager as well as manually, but it did not work.
The resource group currently has no locks in place.
When using the command you provided (with correct information):
az staticwebapp hostname delete -n "<static-webapp-name>" -g "<resource-group>" --hostname "<custom-domain>"
I get the following output and the custom domain isn't deleted:
Are you sure you want to perform this operation? (y/n): y
After deleting a custom domain, there can be a 15 minute delay for the change to propagate.
(Unspecified)
Code: Unspecified
Message:
The script I ran originally came from the forum post you linked.
I am in the process of removing the DNS entries.