Closed hashem-alrifai closed 1 year ago
@hashem-alrifai , When the storage account has a private endpoint with disabled public access, is it accessible from the function app? I mean how are you granting storage access to your function app?
If the storage account is not accessible from the function app, then zipdeploy will fail as expected.
Hi @patelchandni, The storage account is accessible by the function app because the function app has VNet integration enabled, so the storage account and the function app are in the same VNet. And, we use a dedicated build machine that is also connected to the same VNet.
@hashem-alrifai Seems the issue is not the action but the access restrictions on the app. The GitHub runner from where this action is running does not have access to your function app or deployment engine because of which we see 503.
Try out the instructions here for GitHub + ARM template deployment used for such scenario: https://github.com/Azure-Samples/function-app-arm-templates/tree/main/zip-deploy-arm-github-workflow
Thanks.. I can confirm that the build machine (VM) is part of the VNet, but I will check the method you mentioned (later).
What I have:
What I get:
Note: Enabling public access of the storage account will make the deployment succeeded.
What to expect: Deployment should work.