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.
In the new Website window, give the Tab a name (Cloud Shell) and then type the URL for the cloud shell (https://shell.azure.com). Click Save.
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.
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.