Both az CLI (2.0.50) and Azure Powershell installed on the hosted worker are old. The PowerShell commandlets are soon EOL and az CLI is not always working against the current Azure APIs.
We would like to continue using the hosted worker but have had several problems setting up a new build pipeline. For example, 2.0.50 az CLI is missing commands that force us to redeploy Azure Application Gateway (really slow) when only a quick reconfig should be needed. Also, batch uploads to Azure Storage with az CLI do not work because the old CLI is referring to preview roles that do not exist anymore.
Is there a way to update the pre-installed az CLI on the hosted workers when a build process starts?
Or would you be willing to provide a new hosted worker with more recent tooling?