An easy-to-use, ad-free, commercial-grade search tool that lets you deliver the results you want.
Running azd up directly from VS Code for the Web (vscode.dev) is not officially supported for deploying Azure resources. The integrated terminal in VS Code Web may not fully support the necessary commands for provisioning and deployment with azd.
The recommended approach for deploying an Azure Developer CLI template would be to use either GitHub Codespaces or a local environment. Both options provide the necessary tools and environment setup to run azd commands effectively.
- GitHub Codespaces: This option allows you to work in a cloud-based development environment where all prerequisites, including the
azdVisual Studio Code extension, are installed for you. You can easily runazd upand manage your Azure resources from there. - Local Environment: You can clone the repository to your local machine and run
azd upfrom your terminal. This requires having the Azure Developer CLI installed locally. - Azure Cloud Shell: This is another alternative where you can run Azure CLI commands directly in your browser, but it may not provide the same level of integration as using Codespaces or a local setup.
Regarding the subscriptionId, if it is not provided in the URL, you would typically need to specify it manually in your deployment commands or through the Azure portal once you have set up your environment.
In summary, for deploying the azd template, using GitHub Codespaces or a local environment is the best Microsoft-supported workflow.