Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
This case can be closed. It was a shared drive that was full.
Allan
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Summary
Creating a deployment slot fails with HTTP 503 on every attempt, on two different
Windows App Service apps in the same resource group. The apps themselves are running
normally. We need to create a slot for a production release.
(tried with api-version 2023-01-01 and 2024-04-01, from Azure CLI, az rest and the Azure portal)
Error
{"Code":"ServiceUnavailable","Message":"Storage access failed. Storage access failure -
please retry later. Please delete and recreate backup schedule to mitigate.",
"ErrorEntity":{"ExtendedCode":"04202","MessageTemplate":"Storage access failed. {0}.
Please delete and recreate backup schedule to mitigate."}}
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
This case can be closed. It was a shared drive that was full.
Allan
Hi,
Thanks for the reply. The backup explanation does not match our setup: neither app has a
custom backup configuration.
Slot creation still fails. Latest attempt:
It fails the same way on a second app on a different App Service plan
(masterverse-onlinetestapi-prod), both on stamp waws-prod-db3-045, webspace
rg-masterverse-NorthEuropewebspace.
Could you look at the backend logs for that correlation id and tell us which storage
access is actually failing? In particular: is it the platform-managed storage for
automatic backups on the stamp, since no custom backup exists? Both apps also show
lastModifiedTimeUtc 2026-12-03T01:00:50, which we did not cause - was there platform
maintenance on the stamp at that time?
Regards,
Allan
AI answer
Delete and reconfigure the custom backup schedule on each affected app before creating the deployment slot again; Microsoft documents this exact remediation for the App Service “Storage access failed” backup error.^1^
Perform these steps separately for both apps:
A newly configured custom backup must use storage that supports Shared Access Signature (SAS) authorization. App Service backup and restore does not support managed-identity authentication to the storage account.^1^
Check the storage side of the backup configuration rather than the running application:
Because the portal, CLI, and two REST API versions already fail identically—and both apps are otherwise healthy—do not spend time on application-process 503 remedies such as restarts, scaling, or Kudu startup diagnostics. This is a management operation failure, not an HTTP failure from the running sites.
04202References
Hi Allan,
The 04202 error is about the app's custom backup configuration. As far as I can tell, slot creation reads the backup settings of the production app, and when the storage they point to can't be reached, the whole call fails. Since both apps fail the same way, my guess is they share a backup storage account or container and something changed on it.
Custom backups authenticate to storage only with a SAS (managed identity isn't supported for backup and restore), so the usual causes are:
To see what each app points to:
az webapp config backup show --resource-group <rg> --webapp-name <app-name>
Check the storage account and container in the URL and the se= expiry on the SAS (it's a live token, so don't paste it anywhere).
For "Storage access failed" the backup docs say to delete and reconfigure the backup schedule, or reconfigure the backup storage. In the portal that's Backups > Configure custom backups on each app: select the storage account and container again (or a new container) and save, which should give the app a new SAS. If the storage account is behind a firewall, the app needs VNet integration and the "Backup/restore over virtual network integration" option selected.
If you need the slot before storage is sorted out, you can remove the backup configuration, create the slot, and set backups up again afterwards:
az rest --method delete --url "https://management.azure.com/subscriptions/<sub-id>/resourceGroups/<rg>/providers/Microsoft.Web/sites/<app-name>/config/backup?api-version=2024-04-01"
That only removes the schedule on the app, so remember to put it back. If the backup settings look clean and slot creation still returns 04202, I'd open a support case with the correlation ID from the failed request.
References: