@Noel Thanks for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.
If the function app exists in your subscription, then you can find that particular function app in vscode under resources section.
Upon testing by creating multiple functions apps in our internal subscription. We found that windows-based function app will support download app content from portal and for Linux based app this option is greyed out as shown below.
Below is the reference image for Windows-Based Function App :
Below is the reference image for Linux-Based Function App :
We have tried downloading the function app content in VS using the Download by SAS URL option
we are able to download the function app files but the downloaded files have only host.json it doesn't have any information related to project solution of the function.
If you want to download the app content of your function app, you can use any of the below methods.
- By downloading publish profile of your function app and there by passing those credentials to any FTP client like FileZilla you will be able to access the content of the function app. Refer to this similar SO thread.
- Using this REST API (https://<function_app>.scm.azurewebsites.net/api/zip/site/wwwroot/) to download the content under the site/wwwroot as zip file.
Feel free to reach back to me if you have any further questions on this.