Open sinedied opened 11 months ago
I'm guessing your problem is this: https://learn.microsoft.com/en-us/azure/app-service/deploy-configure-credentials?tabs=cli#webdeploy-and-scm
Does it work if you run the following command?
az resource update --resource-group <resource-group> --name scm --namespace Microsoft.Web --resource-type basicPublishingCredentialsPolicies --parent sites/<site-name> --set properties.allow=false
If so probably what caused your deployment to "randomly" break is a change to your company's security policy...
This issue is idle because it has been open for 14 days with no activity.
@sinedied As mentioned above, if your company's security policy is restricting use of publish profile, then you if have to use RBAC credentials to configure your GitHub workflow: https://github.com/Azure/functions-action#using-azure-service-principal-for-rbac-as-deployment-credential
This issue is idle because it has been open for 14 days with no activity.
I experience a similar issue, occurring about three times a week. If I allow a wait time of 8-12 hours, it typically resolves by the next day. While waiting is a solution, my schedule doesn't afford me the luxury of that much downtime.
App setting ENABLE_ORYX_BUILD propagated to Kudu container Package deployment using ZIP Deploy initiated. Error: Failed to deploy web package to App Service. Error: Execution Exception (state: PublishContent) (step: Invocation) Error: When request Azure resource at PublishContent, zipDeploy : Failed to use /home/runner/work/_temp/temp_web_package_10742594107666159.zip as ZipDeploy content Error: Failed to deploy web package to App Service. Not Found (CODE: 404) Error: Error: Failed to deploy web package to App Service. Not Found (CODE: 404) at Kudu.<anonymous> (/home/runner/work/_actions/Azure/functions-action/v1.5.1/lib/appservice-rest/Kudu/azure-app-kudu-service.js:235:41) at Generator.throw (<anonymous>) at rejected (/home/runner/work/_actions/Azure/functions-action/v1.5.1/lib/appservice-rest/Kudu/azure-app-kudu-service.js:6:65) at processTicksAndRejections (node:internal/process/task_queues:96:5) Error: Deployment Failed!
This issue is idle because it has been open for 14 days with no activity.
@patelchandni I have the same problem and it's just myself building using a free subscription, I didn't restrict anything, I am using everything as it is
Error: Execution Exception (state: ValidateAzureResource) (step: Invocation)
Error: When request Azure resource at ValidateAzureResource, Get Function App Settings : Failed to acquire app settings from https://<scmsite>/api/settings with publish-profile
Error: Failed to fetch Kudu App Settings.
Unauthorized (CODE: 401)
Error: Error: Failed to fetch Kudu App Settings.
Unauthorized (CODE: 401)
I have a deployment working that stopped working suddenly, and I'm not sure why: https://github.com/sinedied/azure-checkin/actions/runs/6453368420/job/17516822541
trace:
I've tried updating the action and the publish profile, same error.
Nothing have changed from the Azure side, and manual deployments using the
func
cli still works fine.