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

All function apps show Error. Could not resolve resources <resourceid of function> #4111

Closed
jrudley opened this issue Apr 29, 2024 · 16 comments · Fixed by #4112
Closed

All function apps show Error. Could not resolve resources <resourceid of function> #4111

jrudley opened this issue Apr 29, 2024 · 16 comments · Fixed by #4112
Labels

Comments

@jrudley
Copy link

jrudley commented Apr 29, 2024

This is on any subscription where a function exists. I have uninstalled/installed vscode and extensions.
image

Version: 1.88.1 (system setup)
Commit: e170252f762678dec6ca2cc69aba1570769a5d39
Date: 2024-04-10T17:41:02.734Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.20348

Azure Functions v1.14.2

This was working fine this morning then around lunch they all started showing the Error above. I am in Azure Government.

I can reproduce this. I built a new azure vm, installed the Azure Tools extension and tried to browse the function. Same issue.

@alexweininger
Copy link
Member

This seems like a service related issue. Could you try and downgrade to the previous version of the Azure Resources, and Azure Functions extensions?

Also, is the experience on the portal still working as expected?

@jrudley
Copy link
Author

jrudley commented Apr 29, 2024 via email

@vdmazahreh
Copy link

We are currently facing the same issue.

1- macOS.
2- Contributor role present.
3- Issue happens across team members.
4- The latest versions for Azure Resources and Azure Functions are very recent and we believe the issue started around that time.
5- App services and Static web apps are facing the same issue. However, containers apps and service busses for example work fine.
6- Azure Resources extension works as expected when uninstalling Azure Functions extension. Same thing for other resources.
7- FAs are spread across different resource groups.

Things we've tried so far:
1- Downgrading Azure Resources and Azure Functions to previous version.
2- Uninstalling and reinstalling package.
3- Updating both Azure Resources and Azure Functions extensions to the latest versions 0.8.6 and 1.14.2 respectively.

test

@yashdhanore
Copy link

We are facing the same issue on Mac. Have tried all the steps mentioned by @vdmazahreh
Got help from Microsoft Support also about this but even he couldnt help much in this case we tried several things.

@alexweininger
Copy link
Member

@yashdhanore and @vdmazahreh are you also using a sovereign cloud like Azure US Government?

@yashdhanore
Copy link

@yashdhanore and @vdmazahreh are you also using a sovereign cloud like Azure US Government?

No we are not using Azure government

@steven-keller
Copy link

I'm getting the same issue, on Azure US Government.

@alexweininger
Copy link
Member

Can you try using this VSIX and see if it fixes the issue?
vscode-azurefunctions-1.14.3-alpha.0.vsix.zip

@jrudley
Copy link
Author

jrudley commented Apr 30, 2024

It did not work for me.
image
image
image

@alexweininger
Copy link
Member

Thanks for trying that out so quickly. I have another one for you try. Sorry for the back and forth, I just can't reproduce the issue.

vscode-azurefunctions-1.14.3-alpha.1.vsix.zip

@jrudley
Copy link
Author

jrudley commented Apr 30, 2024 via email

@jrudley
Copy link
Author

jrudley commented Apr 30, 2024 via email

@alexweininger
Copy link
Member

Hi, could you try this one last time. We want to double check before we release. Thanks!

vscode-azurefunctions-1.14.3-alpha.2.vsix.zip

@jrudley
Copy link
Author

jrudley commented Apr 30, 2024

image
Still works for me. Deployments succeeding and can interact with the function within vscode.
image

@alexweininger
Copy link
Member

Thank you very much for testing these. Sorry that it wasn't working. We are going to release the fix today.

@zihanfangms
Copy link

Hi @alexweininger , I'm facing the same issue, and I tried to install the vscode-azurefunctions-1.14.3-alpha.2.vsix, but it still doesn't work.

@microsoft microsoft locked and limited conversation to collaborators Jun 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants