Unable to view contents of function app's zip files after downloading from SCM_RUN_FROM_PACKAGE link
Description: Unable to view contents of function app's zip files after downloading from SCM_RUN_FROM_PACKAGE link
Steps to reproduce the behavior:
- Deploy a function app via vscode, ensure functions load in azure console
- Go to https://<function_app_name>.scm.azurewebsites.net/api/settings
- Look for the key: SCM_RUN_FROM_PACKAGE
- Copy the link and download the zip file
- Try to open the zip file and this leads to "Unable to expand scm-latest-functionapp.zip, it is in an unsupported format"
Expected behavior Should be able to view contents and resuse in WEBSITE_RUN_FROM_PACKAGE
Screenshots
Desktop (please complete the following information):
- OS: Mac
- Browser: Chrome
Hi @ashwinvenkatesha, Thank you for flagging this issue, we will check on it and update you. Thanks!
hey @ashwinvenkatesha, Please let us know which solution function app you have deployed and can you please share the zip with us. thanks!
And is the zip referenced in your raised PR- https://github.com/Azure/Azure-Sentinel/pull/10994/files#diff-95971103b1ceda83854b54c6f329fac170624618ee5faf6c7b8682ec3ab45717
@ashwinvenkatesha, waiting for response
No its not the zip referenced in PR Like I said in the description, you need to deploy the function app via vscode. So it doesnt use the website_run_from_package setting. Once deployed, Go to https://<function_app_name>.scm.azurewebsites.net/api/settings Look for the key: SCM_RUN_FROM_PACKAGE Copy the link and download the zip file Try to open the zip file and this leads to "Unable to expand scm-latest-functionapp.zip, it is in an unsupported format"
Hi @ashwinvenkatesha, Its a same zip link which referenced in a storage account of a function app : -
So, to open it actually you need a 7-zip extractor software: -https://www.7-zip.org/download.html Not sure why default win/mac zip extractor is not supporting the that specific .zip format extension.
Thanks!
Hi @ashwinvenkatesha, I hope above comment help you to unblock from your issue. Please let us know can we close this issue. Thanks!
Trying with multiple apps, still same issue. I am still blocked.
@ashwinvenkatesha, Could you please try with this tool - https://www.7-zip.org/download.html and let us know if still facing same issue. And please share that zip file with as well, to check if that specific file if have any issues.
Thanks!
We dont have permission to install that on our systems, I have shown you output of 2 other tools which do the exact same job. Il post a link https://github.com/illumio-shield/Azure-Sentinel/blob/illumio-sentinel-array-bug/Solutions/IllumioSaaS/Data%20Connectors/scm-latest-testIllumioDataConnector02.zip
@ashwinvenkatesha , Updated the zip :
https://github.com/Azure/Azure-Sentinel/raw/873fb120c32c53696922c8331cc2ca00d91c8971/Solutions/IllumioSaaS/Data%20Connectors/scm-latest-testIllumioDataConnector02.zip
Please download and let me know if still not able to open. Thanks!
This worked, thanks. Can you tell me what was the fix pls?
Hi @ashwinvenkatesha, using this tool to extract the zip : -https://www.7-zip.org/download.html
So, closing this issue. If you still need support for this issue, feel free to re-open it any time. Thank you for your co-operation.