azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

Azure Functions sync from remote to local

Open jamemoriaty opened this issue 2 years ago • 1 comments

[Enter feedback here] My hard disc has crashed. Azure functions were written using Visual Studio Code and deployed to the Azure Functions.

However, right now although I can see all the codes but, I am unable to sync it to my new system in Visual Studio Code.

I am using Consumption Plan, Python in Linux OS.

"Download App Content" is disabled in my account.

Please help me to edit it


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

jamemoriaty avatar Dec 15 '22 07:12 jamemoriaty

@jamemoriaty Thanks for your feedback! We will investigate and update as appropriate.

Hello @jamemoriaty - Thanks again for sharing your feedback. The "Download App Content" is disabled likely because the functions were deployed via VS Code, please refer to Download your function app files.

Taking into account Linux on Consumption SKU and assuming that you have opted for the default deployment method in VS Code, which is Zip Deploy, your Python app artifacts are packaged in a .zip file and uploaded to the scm-releases blob container of the storage account that's linked to your function app. Once you navigate accordingly and locate the .zip file, you should be able to download and extract it locally to retrieve your application files. If you run into any issues when trying this out, feel free to make a new post on the MS Q&A channel with the relevant details and we'd be happy to help you there!

Since we didn't determine any changes to this documentation upon reviewing this feedback, we will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

mike-urnun-msft avatar Dec 20 '22 05:12 mike-urnun-msft