Hello @Pavitra Rupani (admin)
Based on the behavior you've documented, this does look like an orphaned/stale ARM resource record rather than a normal Static Web App deletion problem.
The key inconsistency is:
az resource list → resource exists / provisioningState: Succeeded
Provider GET → NotFound: Cannot find StaticWebApp
Provider DELETE → NotFound: Cannot find StaticWebApp
The documented Microsoft.Web/staticSites DELETE operation should return 200 OK or 202 Accepted when the provider can locate and delete the resource.
As one final check, you could try the resource-specific CLI command rather than the generic az resource delete:
az staticwebapp delete \
--name swa-ets-compass-prod \
--resource-group rg-compass \
--yes
Microsoft documents az staticwebapp delete as the supported Azure CLI operation for deleting a Static Web App.
However, if that also returns:
NotFound: Cannot find StaticWebApp with name swa-ets-compass-prod
I wouldn't recommend trying to manipulate the ARM record manually. The resource provider apparently no longer has the underlying Static Web App while ARM inventory still retains the resource.
Similar orphaned Microsoft.Web resources have required Microsoft backend cleanup/reconciliation when normal deletion couldn't reach the underlying resource.
=============================================================================
Microsoft Moderator Gursimran Singh: Could you please help escalate this to the Azure Static Web Apps / Microsoft.Web resource provider team to reconcile or remove the orphaned ARM record? The control-plane inventory reports the resource as Succeeded, while both provider GET and DELETE return NotFound.
=============================================================================
Pavitra, keep the full resource ID, failed request/correlation ID, UTC timestamp, and CLI debug output available for the support engineer. Since the screenshot includes your Subscription ID, I'd also recommend redacting it from any additional public posts.
Please "Accept the Answer" if this information helped you. This will help us and others in the community as well.