Windows Terminal: integrate Azure Cloud Shell

Windows Terminal Azure Cloud Shell

Why Windows Terminal is amazing? Because is full customizable! So, after my last article about the UI, it’s time to talk about a new great integration: Azure Cloud Shell!

Yes! Can you imagine it? Create and manage the Azure resources from your terminal without download any kind of plug-in or modules!

In this quick article, I will show you how integrate Windows Terminal with Azure Cloud Shell in few minutes.

Clicking on the Settings menu item – figure 1 – will open the .json file editor.

Add this code into the profiles area, maybe after the cmd.exe:

"acrylicOpacity" : 0.6,
    "closeOnExit" : false,
    "colorScheme" : "Campbell",
    "commandline" : "Azure",
    "connectionType" : "{d9fcfdfa-a479-412c-83b7-c5640e61cd62}",
    "cursorColor" : "#FFFFFF",
    "cursorShape" : "bar",
    "fontFace" : "Consolas",
    "fontSize" : 10,
    "guid" : "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
    "historySize" : 9001,
    "icon" : "ms-appx:///ProfileIcons/{b453ae62-4e3d-5e58-b989-0a998ec441b8}.png",
    "name" : "Azure Cloud Shell",
    "padding" : "0, 0, 0, 0",
    "snapOnInput" : true,
    "startingDirectory" : "%USERPROFILE%",
    "useAcrylic" : true

NB: Don’t forget the comma (,) to avoid issues.

Now go back to Windows Terminal and check if there’s a new connection as showed in figure 3.

Figure 3 – Azure Cloud Shell

Select Azure Cloud Shell to start the connection; to make more secure the communication, you must open the browser and insert the random code showed into the window – figure 4.

Figure 4 – Authentication

Once the code will be validated, you will be able to connect into Cloud Shell. If your account is linked to more then one tenant, will be return a list to choose the desired one – figure 6.

Figure 6 – Tenant List

Ready for takeoff! Enter az to see list of command available or try az account list to see your Azure subscription information.

Cool right? This tool is absolutely the future of command-line management!

Get Started

Windows Terminal is available within the Microsoft Store for those who have already installed Windows 10 1903 and is currently located in Preview – build 0.3 – while the official release is scheduled for the end of the year.