Skip to content
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

Cannot deploy my app after upgrading to v10 today #999

Closed
oreoero opened this issue Dec 30, 2024 · 14 comments
Closed

Cannot deploy my app after upgrading to v10 today #999

oreoero opened this issue Dec 30, 2024 · 14 comments

Comments

@oreoero
Copy link

oreoero commented Dec 30, 2024

After updating to V10 today, I cannot deploy my azure function app, with Internal error: Expected value to be neither null nor undefined: newSiteName

@alexweininger
Copy link
Member

alexweininger commented Dec 30, 2024

Hi, if this issue is keeps happening after retrying, could you revert to Azure Resources v0.9.9 and try again? You can do so by selecting "Install specific version..."

Image

The changes released in v10 should be unrelated to deploying a function app. Reverting and trying again will tell us if that's truly the case.

@oreoero
Copy link
Author

oreoero commented Dec 30, 2024

Thanks for the prompt reply.

Yes it worked after falling back.

@alexweininger
Copy link
Member

I'm wondering if it worked because you rolled back or because you tried it again. If you could update to v10 and try deploying again that would help me a lot.

@oreoero
Copy link
Author

oreoero commented Dec 30, 2024

I tried again, it does not work on 0.10.0 but it works 0.9.0, I restarted vscode in between.

@alexweininger
Copy link
Member

Thanks. What entry point for deploy are you using? Could you give me detailed repro steps?

@oreoero
Copy link
Author

oreoero commented Dec 31, 2024

I have been doing this:

  1. go to the Azure icon on the left side bar
  2. click on the icon to deploy. Image
  3. select subscription and app on the top bar
  4. click Yes on the popped warning
  5. wait for it to complete.

Now, after 10 version, BEFORE the 4th step, without any the popped warning, it failed with this on the right bottom:
Image
Internal error: Expected value to be neither null nor undefined: newSiteName
Let me know how can I grab any more details to you, thank you!

@HAL377
Copy link

HAL377 commented Dec 31, 2024

I have the exact same problem when deploying my PowerShell based function app today after updating Azure Resources extensions.. I reverted to the previous release of Azure Resources and its working fine now.

@SussexGooner
Copy link

I had a similar problem deploying a static webpage through VS Code. It came up with an error message about not being able to find the $web blob for the storage account. I reverted to the previous version this morning and the problem went away.

@alexweininger
Copy link
Member

The fix for this issue is to change the Microsoft Authentication Implementation setting to MSAL
Image
This is the default setting in the current insiders version.

The issue only happens in stable or when this setting is set to Classic.

@alexweininger
Copy link
Member

I have a fix in the works. Hoping to release the full fix today. #1000

@alexweininger
Copy link
Member

We just released Azure Resources v.0.10.1 which includes the fix for this issue.

@oreoero
Copy link
Author

oreoero commented Dec 31, 2024

Thanks a lot, I confirm v.0.10.1 works on my end.

@SussexGooner
Copy link

I still get the error: Could not find $web blob container for storage account ...

@alexweininger
Copy link
Member

I still get the error: Could not find $web blob container for storage account ...

@SussexGooner this sounds like a separate issue. Can you file a new one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants