Azure / Azure/azure-devops-cli-extension

Unable to load extension 'azure-devops' in devops pipeline

Open
#966 23 comments 2 reactions 0 assignees View on GitHub
Area: ProToCol bug
Dominant language
Python
Stars
682
Forks
278
Avg merge
3d 23h
Merged PRs (30d)
3

Description

Error :
Az devops works locally on agent.
When we ran through pipeline with CLI task ( powershell script) on agent, it throws error as az: 'devops' is not in the 'az' command group.

Also i could see the warning 'unable to load extension azure-devops' while loading.

azure-cli: 2.1.0,
command-modules-nspkg: 2.0.3,
core: 2.1.0,
nspkg: 3.0.4,
telemetry: 1.0.4
Extensions: azure-devops 0.17.0
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Program Files\Common Files\AzureCliExtensionDirectory'
Python (Windows) 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)]

**Expected behavior**
AZ devops command should work with Agent through devops pipeline.

**Screenshots**
Added Screenshot which shows unable to load extension 'azure-devops'
![image](https://user-images.githubusercontent.com/42839520/76509113-809dd500-6475-11ea-81c4-6cf8df457f8a.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.