deploy to function app in vs code does not bring up subscription-"No matching resources found"

Martin B 86 Reputation points
2023-08-25T00:38:37.1966667+00:00

local function need to deploy to Azure - deploy to function app in vs code does not bring up a subscription? How to resolve this?

Thanks in advance!

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,408 questions
{count} votes

Accepted answer
  1. MayankBargali-MSFT 70,936 Reputation points Moderator
    2023-08-25T03:06:26.7766667+00:00

    @Martin B Thanks for reaching out. You can try any of the below to resolve the issue

    • You can try creating the function app first. Once its created, refresh your resources from vscode. When you select "Deploy..." from your workspace, it should prompt you to select the function app you created.
    • Make sure you install all the latest Prerequisites as documented here. In VSCode use the shortcut Ctrl + Shift + P to bring up VS Code command palette and first signout Azure: Sign Out and then sign in using the command 'Azure: Sign In' in the command palette. Just search for 'Azure: Sign In' or 'Azure: Sign Out' in the command palette and sign in/sign out to the account. Similarly, if you multiple tenant/subscription make sure to select the right tenant/subscription using the VS Code command palette.
    • Make sure you have the right permission to view/deploy the function app on the selected tenant/subscription.

    In case if you still face the issue then please share the screenshot of your VS code along with the version of the extension, function runtime.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.