How to downgrade the Microsoft Teams module in your Azure Automation account

In this blog post I will give a short overview how to downgrade the Microsoft Teams module in your Azure Automation account. Why you should do this? Assume you have developed a solution for some Microsoft Teams automations. You are using the Teams PowerShell module in some of your scripts. After a few months running the solution very smoothly, you decide to upgrade the PowerShell module in your Automation Account. And from that time on, your scripts don’t work anymore. Microsoft updates version 2.3.1 to the current release and some command-lets or parameter changed. Of course, we can update our solution but it is better to get a working solution in a short period of time and to find a solution in a lab environment.

Error message during Connect-MicrosoftTeams with current module 2.6.0 - ApplicationId is an unknown parameter
Error message during Connect-MicrosoftTeams with current module 2.6.0
Continue reading “How to downgrade the Microsoft Teams module in your Azure Automation account”