Azure / Azure/azure-cli

ModuleNotFound: azure.core.rest devops azure cli task

Open
#23,790 3 comments 0 reactions 1 assignee Claimed by @evelyn-ys View on GitHub
act-codegen-extensibility-squad Auto-Assign customer-reported Data Factory question Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Related command**
$runId=az datafactory pipeline create-run --factory-name test-adf --name "pl_load_training_data" --resource-group test-rg --query "runId" --output tsv

**Describe the bug**
We have a devops pipeline which has an azure cli task that triggers and adf pipeline. All was working untill last friday but now the same task started giving error: ModuleNotFound: azure.core.rest.

I have added azure-core to [requirements.txt](http://requirements.txt/) and running pip list | grep auzre-core also list that it is installed.

**To Reproduce**
Try triggering an adf pipeline via azure devops cli task

**Expected behavior**
Should return a runId of the triggered pipeline

**Environment summary**
![image](https://user-images.githubusercontent.com/17766651/188650967-60aa2e9c-2760-450a-83ce-a700e4f0cfee.png)

**Additional context**

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.