Microsoft Azure - Error : Az Powershell module is not installed

Microsoft Azure - Error : Az Powershell module is not installed

While adding the Microsoft Azure monitor or during data collection, if this error occurs, follow the below steps for troubleshooting:
  1. Check whether all the prerequisites mentioned in the below link are done:
    Prerequisite steps link
  2. Open admin PowerShell window and run the below command to check the list of modules installed:
    Get-Module -ListAvailable -Name Az*
  3. Check if only the Az modules are present and the AzureRM modules are not available 
  4. If the AzureRM module is still present, then uninstall the module using the below command:
    Uninstall-AzureRm
Notes
Note: If you face any difficulty in uninstalling the AzureRM module, refer to this Microsoft doc.

If the issue still persists, contact Microsoft support to resolve the issue. Once the AzureRM module is completely removed and the Az module is installed, we will be able to add the monitor / perform data collection.

                  New to ADSelfService Plus?