Downloading artifacts from Azure DevOps Universal Package feed fails with az: error: unrecognized arguments: — project
Published in
1 min readDec 18, 2019
Using some of the newer features of Azure DevOps might mean that you have to upgrade your toolchain. In my particular case I was trying to download an artifact from the Azure DevOps Universal Package feed using the az cli, which failed with the error “az: error: unrecognized arguments: — project <projectid>”. The command I was using was copy/pasted straight from the Azure DevOps UI, so confusion ensued.
Long story, short: my toolchain was outdated. Luckily that can be fixed with just two commands.
- Upgrade your az cli
brew upgrade azure-cli
- Upgrade your az devops extension:
az extension update — name azure-devops