The resource was not found, it may have been deleted.... when deploy from GitHub to Azure

Jacky Poon 0 Reputation points
2025-08-05T14:44:03.72+00:00

Dear officer,

I need some help in that I encountered an error when I tried to migrate a generative AI App from GitHub to Azure. The web app I created using Python 13.2. I can successfully deploy the web app to Azure and I have entered all environment variables from Python .env file to environment variables under Settings in Azure Environment Variables.png.

Then I click on the URL in Default Domain. I encountered the error 404 error message 404 Error.png. The error message stating that:

Error code404

DetailsThe resource was not found, it may have been deleted. If this was launched from a pinned tile on the dashboard, it should be removed. Resource ID: /subscriptions/6f9e534d-7828-4ee5-bf08-7622f79d10fe/resourceGroups/ai_group/providers/Microsoft.Web/sites/aihosting3/slots/bnb5frbwdrfpbwh8808d-hghuazevhxf8h7dt

Status Code: 404

After performed some Internet search. I added the entry hghuazevhxf8h7dt into deployment slot Deployment Host.png. Then I click on the URL in the default domain. I got the same error 404.

Does someone know how to resolve this issue? The deployment is successful but I am unable to access the web app with error 404. Thanks!

Regards,

Jacky

Azure App Configuration
Azure App Configuration
An Azure service that provides hosted, universal storage for Azure app configurations.
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.