Skip to content

[Bug]:- Azure devops task: AzureCLI@2 uses powershell 5 and not 7 that is required by the ARI #381

@stephentyers1975

Description

@stephentyers1975

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

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions