How To Run Azure Cloud Shell In Microsoft Teams #Azure #CloudShell

2 min read


Azure Cloud Shell is so powerful, you don’t need to install Azure CLI or any PowerShell modules locally on your machine to automate your tasks. The modules are constantly being updated by Microsoft.

In this quick blog post, I will show you how to run Azure Cloud Shell in Microsoft Teams. This scenario is useful if you spend most of your time in Teams and you want to run quick PowerShell and Azure CLI commands. Microsoft Teams is a hub for teamwork in Office 365, where you keep all your team’s chats, meetings, files, and apps together in one place.

Run Cloud Shell In Microsoft Teams

Assuming you already have Microsoft Teams open, choose your desired Channel and take the following steps:

Click the plus sign to add a new tab and then choose the Website.

How To Run Azure Cloud Shell In Microsoft Teams #Azure #CloudShell 1

In the new Website window, give the Tab a name (Cloud Shell) and then type the URL for the cloud shell ( Click Save.

How To Run Azure Cloud Shell In Microsoft Teams #Azure #CloudShell 2

Once you hit save, you will be asked to authenticate first and then select your desired Azure directory, so you can use an alternative credentials to access the Cloud Shell if needed.

Here you go, a new Azure Cloud Shell Tab in your Team Channel. You can expand the Tab and enjoy a larger view.

How To Run Azure Cloud Shell In Microsoft Teams #Azure #CloudShell 3

Please note that when you leave the tab and then come back, the page refreshes each time and you get a new Cloud Shell session, but you don’t need to authenticate again. This is not super useful and productive, but nice to have. At the end of the day, it’s just a tab that refreshes the page each time you go to another tab and then come back, you can add any website URL if you want.

What could be a super useful scenario is, if you have a meeting in Teams and you undock it, so you could see both the meeting content and the nifty new cloud shell tab. Hopefully, Microsoft will add this functionality.

If you don’t use Microsoft Teams (you should), you can use the Azure Cloud Shell Connector in Windows Terminal. If you are new to Windows Terminal, I highly recommend to check it out here. You can download it for free from the Microsoft Store.

Hope this helps!

Thank you for reading my blog.

If you have any questions or feedback, please leave a comment.

-Charbel Nemnom-

About Charbel Nemnom 578 Articles
Charbel Nemnom is a Cloud Architect, Swiss Certified ICT Security Expert, Microsoft Most Valuable Professional (MVP), and Microsoft Certified Trainer (MCT), totally fan of the latest's IT platform solutions, accomplished hands-on technical professional with over 17 years of broad IT Infrastructure experience serving on and guiding technical teams to optimize the performance of mission-critical enterprise systems. Excellent communicator is adept at identifying business needs and bridging the gap between functional groups and technology to foster targeted and innovative IT project development. Well respected by peers through demonstrating passion for technology and performance improvement. Extensive practical knowledge of complex systems builds, network design, business continuity, and cloud security.

Be the first to comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.