You dont have javascript enabled! Please enable it!

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 2

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 3

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 4

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 checking 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-

Photo of author
About the Author
Charbel Nemnom
Charbel Nemnom is a Senior Cloud Architect, Swiss Certified ICT Security Expert, Certified Cloud Security Professional (CCSP), Certified Information Security Manager (CISM), Microsoft Most Valuable Professional (MVP), and Microsoft Certified Trainer (MCT). He has over 20 years of broad IT experience serving on and guiding technical teams to optimize the performance of mission-critical enterprise systems with extensive practical knowledge of complex systems build, network design, business continuity, and cloud security.

Related Posts


Sync Between Azure Blob Storage and Between Azure File Shares

How To Change ‘DPM_SQL_Protect’ Folder To Another Volume


Let me know what you think, or ask a question...

error: Alert: The content of this website is copyrighted from being plagiarized! You can copy from the 'Code Blocks' in 'Black' by selecting the Code. Thank You!