microsoft / vscode-azurefunctions

Azure Functions extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions
MIT License
289 stars 131 forks source link

func.ps1 is not digitally signed #4150

Open kev1010 opened 1 month ago

kev1010 commented 1 month ago

The run command does not work because func.ps1 is not digitally signed.

nturinski commented 1 month ago

This might be able to help you: https://stackoverflow.com/questions/9742775/why-is-my-locally-created-script-not-allowed-to-run-under-the-remotesigned-execu#:~:text=When%20you%20run%20a%20.,change%20the%20Execution%20Policy%20setting.

This doesn't seem to be a functions issue.

kev1010 commented 1 month ago

This might be able to help you: https://stackoverflow.com/questions/9742775/why-is-my-locally-created-script-not-allowed-to-run-under-the-remotesigned-execu#:~:text=When%20you%20run%20a%20.,change%20the%20Execution%20Policy%20setting.

This doesn't seem to be a functions issue.

The ps file has to be signed by a trusted Certificate Authority (CA) in order to run under Powershell's best practices .