Hi @Arthur T,
The issue appears to be caused by an outdated or deprecated API endpoint for fetching deployment status. The best approach is to ensure you’re using the latest azd
version, verify the API manually, and, if necessary, use an alternative method like az webapp deployment list
. Additionally, checking Azure Portal logs can help confirm that the deployment is actually succeeding.
Your deployment status check is using api-version=2023-01-01
, which may no longer be supported or could be returning incorrect responses. Azure APIs are frequently updated, and some older versions may be deprecated. Try replacing it with a newer API version. You can manually test the API version by running an az rest
command: az rest --method get --url
"https://management.azure.com/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/<RESOURCE_GROUP>/providers/Microsoft.Web/sites/<APP_NAME>/deploymentStatus?api-version=2023-01-01" If this command also returns a 404 Not Found
error, it likely means that the deployment status API is either unavailable for your app or has been deprecated.
https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/troubleshoot?tabs=Browser
https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/configure-devops-pipeline?tabs=GitHub
https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/common-deployment-errors?
If the answer is helpful, please click Accept Answer and kindly upvote it so that other people who faces similar issue may get benefitted from it.
Let me know if you have any further Queries.