Open
Description
New issue checklist
- I searched for existing GitHub issues
- I read pipeline troubleshooting guide
- I checked how to collect logs
Task name
AzurePowerShell
Task version
12.2.0
Issue Description
When checking the telemetry data of Azure PowerShell, querying the data from ADO, it was found to be empty. The root cause is that the environment variable AZUREPS_HOST_ENVIRONMENT of Azure PowerShell is not set.
Environment type (Please select at least one enviroment where you face this issue)
- Self-Hosted
- Microsoft Hosted
- VMSS Pool
- Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Window 11
Relevant log output
### Full task logs with system.debug enabled
<details>
<pre> [REPLACE THIS WITH YOUR INFORMATION] </pre>
</details>
### Repro steps
_No response_