How to set up Azure Cloud Shell on Windows Terminal

You can use the Windows Terminal app to connect to Azure and perform tasks using PowerShell, and in this guide, you'll learn the steps to do it.

Azure Cloud Shell on Windows Terminal
Azure Cloud Shell on Windows Terminal

In Microsoft Azure, the “Azure Cloud Shell” experience allows you to manage tasks for cloud services using command lines (using Bash or PowerShell) securely through the web browser.

However, if you want a more local desktop experience, it’s also possible to access the Cloud Shell from the Windows Terminal app on Windows 10. Once configured, you can save the credentials for future seamlessly logins.

In this guide, you’ll learn the steps to connect the Windows Terminal app to your Azure account to use PowerShell command to complete tasks from Windows 10.

How to configure Azure Cloud Shell on Windows Terminal

To connect Windows Terminal with Azure Cloud Shell, use these steps:

  1. Open Azure web portal.

  2. Sign in with your credentials.

  3. Open Microsoft Azure page.

  4. Click the PowerShell option.

    Shell Azure PowerShell option
    Shell Azure PowerShell option
  5. Click the Create Storage button (if applicable).

    Azure create storage option
    Azure create storage option
  6. Open Windows Terminal on Windows 10.

  7. Click the down-arrow button and select the Azure Cloud Shell option.

    Windows Terminal Azure Cloud Shell option
    Windows Terminal Azure Cloud Shell option
  8. Copy the Windows Terminal connection code.

    Windows Terminal Azure connection code
    Windows Terminal Azure connection code
  9. Open Microsoft authentication page.

  10. Confirm the connection code.

    Windows Terminal Azure code confirmation
    Windows Terminal Azure code confirmation
  11. Click the Next button.

  12. Select your Azure account from the list.

  13. Press the Y key to save the settings for future logins in the Windows Terminal app.

    Windows Terminal Azure connection completed
    Windows Terminal Azure connection completed

Once you complete the steps, you can start using the Windows Terminal on Windows 10 to complete tasks on Azure using PowerShell commands.

About the author

Mauro Huculak is a Windows How-To Expert who started Pureinfotech in 2010 as an independent online publication. He has also been a Windows Central contributor for nearly a decade. Mauro has over 15 years of experience writing comprehensive guides and creating professional videos about Windows and software, including Android and Linux. Before becoming a technology writer, he was an IT administrator for seven years. In total, Mauro has over 21 years of combined experience in technology. Throughout his career, he achieved different professional certifications from Microsoft (MSCA), Cisco (CCNP), VMware (VCP), and CompTIA (A+ and Network+), and he has been recognized as a Microsoft MVP for many years. You can follow him on X (Twitter), YouTube, LinkedIn and About.me. Email him at [email protected].