0
votes

I am trying to deploy my azure function with VS code using func azure functionapp publish nhtsa --build remote and I am getting below error.

Remote build is a new feature added to function apps. Your function app does not support remote build as it was created before August 1st, 2019. Please use '--build local' or '--build-native-deps'. For more information, please visit https://aka.ms/remotebuild

I thought it's because of the storage account access -tier and access level, so I change my storage account tier to cool and container access to public, and I deploy the function again, and I'm still getting the error.

Any idea how I can resolve this issue.

Thanks

enter image description here

enter image description here

enter image description here

1

1 Answers

0
votes

As the error specified, it is not supported for function app created before August 1, 2019 (see documentation):

If you're having issues with remote build, it might be because your app was created before the feature was made available (August 1, 2019). Try creating a new function app, or running az functionapp update -g <RESOURCE_GROUP_NAME> -n <APP_NAME> to update your function app. This command might take two tries to succeed.