


There Is no doubt that Visual Studio Code Is position itself as the ultimate coding and console tool (and free).Īt this stage, PowerShell Is still In preview mode but my recommendation is to use the Bash and Linux because Azure CLI 2. First published by Mohamed El-Qassas MVP (MVP, Microsoft Community Contributor) When: 8:05 AM Last revision by George Chrysovaladis Grammatikos (MVP, Microsoft Community Contributor). To see Azure CLI 2.0 commands I simply type az help If I click on Open Bash In Cloud Shell, Azure CLI 2.0 will open If I select Open PowerShell with Cloud Shell I’ll start session process.Īs you can see below, a PowerShell session started and I can also use Linux CLI 2.0 ( Recommended) as you will see below. Now that I’ve authenticated I can either use PowerShell or Bash to connect to Cloud Shell, I’ll start with PowerShell PowerShell With Cloud Shell To access login and use Azure Cloud Shell, I’ll open the Command Palette (Ctrl + Shift + P) and click on Azure Sign In (If you don’t see It type Azure)Īfter clicking on Azure Sign In you will, Open the browser and authenticate yourselfĪfter I click on Copy & Open I’ll be redirected to the Azure Authentication page Once I Installed the extension I must restart VS. To get started, From the extensions menu search for Azure Account and click Install To connect to Microsoft Azure directly from VS the only requirements are to have the latest Visual Studio version and Install the Azure Account extension. It includes support for debugging, embedded Git control, syntax highlighting, intelligent code completion, snippets, and code refactoring.

Visual Studio Code is a source code editor developed by Microsoft for Windows, Linux and macOS. If you don’t have a Visual Studio Subscription, you can create one for free by clicking on “Create a new Microsoft account” on the login page.In this blog post, I’ll show you how to connect to Microsoft Azure Cloud Shell directly from Visual Studio Code and run Azure CLI 2.0 commands. To download any product from the following list, click the download button and log in with your Visual Studio Subscription account when prompted.
