Azure function option is not visible in Visual Studio 2022

Muhammad Arsalan Bhatti 20 Reputation points
2025-05-15T13:08:01.6166667+00:00

Hi,

I am unable to see the Azure function option in Visual Studio 2022 even though I have installed the Azure management and Asp.net library.

User's image

Developer technologies | Visual Studio | Setup
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marcin Policht 49,640 Reputation points MVP Volunteer Moderator
    2025-05-15T13:18:52.4933333+00:00

    Installing "Azure management" or ASP.NET libraries alone isn't enough. You must install the Azure Development workload. To check or install it:

    • Open Visual Studio Installer
    • Click Modify next to Visual Studio 2022
    • Go to the Workloads tab
    • Ensure "Azure Development" is checked
    • Click Modify to install missing components

    You may also want to use Visual Studio Installer to install additional tools:

    • Scroll to "Individual Components"
    • Search for and check:
      • Azure Functions and Web Jobs Tools
      • .NET Core cross-platform development
      • .NET SDKs (e.g., .NET 6, .NET 7) (depending on your target framework)

    Then, when creating a new project:

    • Use the Search bar and type: Azure Functions
    • If not visible, try:
      • Closing/reopening Visual Studio
      • Checking for updates via Help > Check for Updates

    If the Visual Studio template still doesn’t appear, you can create a function app using the .NET CLI:

    dotnet new func -n MyFunctionApp
    

    Then open the generated folder in Visual Studio.


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin


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.