Open Azure Function using Visual Studio Code

Ranya Hassan - MS Cloud - IO HWAN 60 Reputation points
2023-11-27T21:56:50.26+00:00

Hi Team,

We have an issue when we try to open Azure Function from Visual Studio Code. We received this error: 'Error: Resource provider 'Microsoft.Web' failed to return collection response for type 'sites'.

note: We are able to create a new function app, but we are not able to open the function app.

also Microsoft.Web has been registered, as you can see:

User's image

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,637 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 27,026 Reputation points Microsoft Employee
    2023-11-29T15:21:14.8866667+00:00

    Hi @Ranya Hassan - MS Cloud - IO HWAN

    I have run into a similar issue in the past. In my case, I wasn't able to list web apps, but it has since been resolved. I would check that you have the latest Azure Tools extension installed in VS Code. If installing the latest version of the extension doesn't solve the issue, I suggest filing a new issue with under the Functions extension.

    0 comments No comments