Describe the bug
Azure devops task: AzureCLI@2 uses powershell version 5.x by default and not 7 that is required by the ARI to run. The pipeline therefore fails.
To Reproduce
run the pipeline azure-pipelines/ari-inventory.yml
Expected behavior
I expect the pipeline to work
Screenshots
Environment
I'm tried this both with Microsoft's own cloud agent and a self-hosted windows vmss agent built off Microsoft's runner image
Azure cloud special setting
No
Additional context
n/a