-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal error: Expected value to be neither null nor undefined: newSiteName (Source: Azure Functions) #4355
Comments
@SherekhanFR, did you try this?
|
I have a fix in the works. Hoping to release the full fix today. microsoft/vscode-azureresourcegroups#1000 |
Switch to MSAL worked for me - thank you! |
We just released Azure Resources v.0.10.1 which includes the fix for this issue. |
Wow, thank you. Will have a look tomorrow 👍 |
Deployment now working for me following the fix (thank you!), however I cannot find the setting to change to the Microsoft-authentication: Implementation. I'm fairly new to VSCode so still finding my way around...so even though I don't need the workaround. I'm just curious where to find this? |
You can go to Settings (on Mac : Code > Preferences > Settings) and then look for 'Microsoft-authentication' and you will have the configuration. |
Super ! it's fixed and works with and without the change of Microsoft Authentication Implementation. Thank you for your quick work 👍 |
Thank you, much appreciated! |
I'm hitting the same issue I'm afraid, and that's with the following config in VS Code (for Windows 10);
Deployment from the Azure tab of the VS code activity bar, then Workspace -> Local Project (func app name) -> 'Deploy to Azure' fails. Deployment from the Azure tab of the VS code activity bar, then Resources-> (find my func app in azure) -> 'Deploy to Function App' works. |
Is the error the same as OP? |
Yes, same error as the OP. |
I have a python azure function that was originally using a python 3.12.5 venv. I could deploy from VSCode to an existing function app (Flex Consumption plan) but was getting an Http Trigger not found error.
As part of troubleshooting, I have replaced the Python venv with a 3.11.0 venv (Delete and Recreate within VSCode) to ensure compatibility with Azure Functions supported versions of python, and since doing that I can no longer deploy the app as I get the following error message:
Deleting and recreating the python 3.12.5 venv does not resolve the issue.
This appears to have been caused by the change of virtual environment, but I cannot find where this parameter is set. Going through the Azure Functions extension settings shows nothing.
Any pointers greatly appreciated!
The text was updated successfully, but these errors were encountered: