Description
Search Documents nightly test runs are failing with:
Error message:
WARNING: Both Az and AzureRM modules were detected on this machine. Az and AzureRM modules cannot be imported in the same session or used in the same script or runbook. If you are running PowerShell in an environment you control you can use the 'Uninstall-AzureRm' cmdlet to remove all AzureRm modules from your machine. If you are running in Azure Automation, take care that none of your runbooks import both Az and AzureRM modules. More information can be found here: https://aka.ms/azps-migration-guide
ConvertFrom-Json : Conversion from JSON failed with error: Unexpected character encountered while parsing value: $. Path '', line 1, position 2.
At D:\a_work_temp\99e9cf7f-5fd2-4eec-bfe2-5db8641b5fe7.ps1:8 char:6
+'@ | ConvertFrom-Json -AsHashtable;
+CategoryInfo : NotSpecified: (:) [ConvertFrom-Json], ArgumentException
+FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.ConvertFromJsonCommand
##[error]PowerShell exited with code '1'.
For more details check here:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3236245&view=results