Skip to content

Troubleshooting Azure PowerShell issues

aksm-ms edited this page Jan 31, 2020 · 6 revisions

This page will list common issues faced by users of Azure PowerShell task and troubleshooting tips.

Private Agent setup

  1. (Applicable for older AzureRM/Azure modules) Typically, we see that when users install more than one version on their private agent, they may some issues when the task tries to import AzureRM modules. In such scenarios, removing all Azure PowerShell modules and reinstalling only a single Azure PowerShell version ( the one that the user wants ) generally solves the problem.

Could not find the modules

Following are the available Azure PowerShell modules on hosted agents:

Module Versions
Azure 2.1.0, 3.8.0, 4.2.1, 5.1.1
AzureRM 2.1.0, 3.8.0, 4.2.1, 5.1.1, 6.7.0
Az Module 1.0.0, 1.6.0, 2.3.2, 2.6.0, 3.1.0