Reading Time: 3 minutes
Follow by Email

I have been using the new, but still in preview Windows Terminal for a while now and absolutely love it.  With every release, it just gets better. With the latest release, we now have the ability to use the Azure Cloud Shell right from within the application. Which is just awesome!

If you are new to Windows Terminal you can download it from the Microsoft store. As this will be a new installation you will already have the Azure Cloud Shell as an option.

If like me, you have been using it for a while you can follow the steps below to add the Azure Cloud Shell into your Windows Terminal profile.

Add the Cloud Shell Profile

So, you will need to have the Windows terminal open for this.

Click on the downward arrow icon next to the +

In here click on Settings.

If you have Visual Studio Code installed the profiles.json file will open. If you don’t have Visual Studio Code installed, what are you doing go install it now?

In here you will see all of your profiles and settings. Scroll down to you find the profiles bit. Then scroll down to the last profile, it should be just above schemes.

As you can see you have a } just before the schemes section. Go ahead and put a , after it and press enter. Now past the below code in and save the file.

"acrylicOpacity" : 0.6,
"closeOnExit" : false,
"colorScheme" : "Vintage",
"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

You should have something like this now.

Go back to the Windows Terminal app and click the downward arrow icon again. Would you look at that? We now have the Azure Cloud Shell showing. Go ahead and click it.

You will be greeted by a message asking you to log in via a browser.

Once you have logged in you will now be asked to pick a tenant if you have multiple like me.

If you want to save the connection settings for future press y otherwise press n. If you do save the settings you will not need to go through the connection steps again.

That’s it. We now have a nice terminal for the Azure Cloud Shell.

All of the same features you come to expect in the Azure Cloud Shell, but on your device and not in a browser.

I hope you found this article helpful. If you have any questions or comments please leave them below or reach out.

Follow by Email

Pixel Robots.

I’m Richard Hooper aka Pixel Robots. I started this blog in 2016 for a couple reasons. The first reason was basically just a place for me to store my step by step guides, troubleshooting guides and just plain ideas about being a sysadmin. The second reason was to share what I have learned and found out with other people like me. Hopefully, you can find something useful on the site.


RaminderBox · August 10, 2019 at 9:10 am

Thanks for this awesome update !!!

Richard · August 12, 2019 at 12:06 pm

Seems like the console stops responding to keystrokes after a few minutes. Possibly a timeout issue?
There seems to be no way to keep it alive, or to refresh the session. The only option seems to be to close the tab and open a fresh one which is a little annoying.

Pixel Robots. · August 14, 2019 at 1:48 pm

Have you filed a bug report on the github page? Might be worth doing if you have not already as it’s still in preview.

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *