

Provide the following information at the prompts: Prompt Don't choose a project folder that is already part of a workspace. You should either create a new folder or choose an empty folder for the project workspace. When prompted, choose Create new project.Ĭhoose the directory location for your project workspace and choose Select. Then in the Workspace (local) area, select the + button, choose Create Function in the dropdown. Later in this article, you'll publish your function code to Azure.Ĭhoose the Azure icon in the Activity bar. In this section, you use Visual Studio Code to create a local Azure Functions project in PowerShell. The Azure Functions extension for Visual Studio Code.

The PowerShell extension for Visual Studio Code. Visual Studio Code on one of the supported platforms. The Azure Functions Core Tools version 4.x. Configure your environmentīefore you get started, make sure you have the following requirements in place:Īn Azure account with an active subscription. There's also a CLI-based version of this article. After testing the code locally, you deploy it to the serverless environment of Azure Functions.Ĭompleting this quickstart incurs a small cost of a few USD cents or less in your Azure account.

In this article, you use Visual Studio Code to create a PowerShell function that responds to HTTP requests.
