Closed MasterKuat closed 2 months ago
We ran into the same issue. Dropping back to version 1.32.1423 worked.
Hi @hatcherdw would you share your downgrade procedure please ?
This should get you started: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/tasks?view=azure-devops&tabs=yaml#task-versions
Why can't you update Az.Accounts
to the latest 3.0 version?
Az libraries are being updated within almost every deployment of this extension, so it wouldn't be possible to create a new major version every time. What agent do you use?
Hi @NowinskiK , cause of this : https://github.com/Azure/azure-powershell/issues/21647. and lot of constraint. We are using self hosted agent, so we fully control our environment.
Could it be possible for you to set the task version to v2 ? So people who want the new version will able to switch and other, like us, no ;)
Thanks
We are experiencing that same issue as @MasterKuat and using the same resolution as @hatcherdw.
We are unable to easily update our agents to use the new Az.Accounts version because this may negatively affect a lot other non-ADF related pipelines that use them.
Having an @2 version of the task as @MasterKuat suggests would be excellent.
@PtrckGdwn @hatcherdw Are you using YAML pipeline, because I'm using classical release pipeline and I do not find a way to specify a full version number. No (good) choice.
@MasterKuat YAML pipelines.
Hello all. Sorry for inconvience. I can confirm that the workaround for using a specific version of any extension is possible within YAML format. I will start looking at how to revert the previous version to 1. and create a new version 2.
I had the same issue, we are using self-hosted agents and it takes some time to get powershell modules updated, but you can specify the specific version directly in your yaml task like this ...
Then...
hope it helps.
Thanks @svenchio for additional details and screenshots. Definitely helpful for teams who are impacted. Unfortunately demanding particular version is available in YAML pipelines ONLY - you can't do that in Classic UI of Release Pipeline.
Version 1.35 is now released again with content from ver.1.33 and contains the following Az modules:
If you need the newest version of any of these modules - use ver.2.x. Thank you for being so patient - please remember that I do this for free in my free time for the Community. If you appreciate this effort - please Write a review of the tool.
Thanks very much for the prompt turn around @NowinskiK, much appreciated
Thank you. But seems version 1.35 was not installed as you publish v2 By the way, classical release pipeline is running 1.35 ! Thank you very much for your quick fix and great job ;)
I can publish only one main version of DevOps Extension and the version must increase every time. Hence, version 2.0.1514 contains two versions of some tasks: 1.x and 2.x - in the classical pipeline, you can choose which one you gonna use.
Error : This module requires Az.Accounts version 3.0.0. An earlier version of Az.Accounts is imported in the current PowerShell session. Please open a new session before importing this module. This error could indicate that multiple incompatible versions of the Azure PowerShell cmdlets are installed on your system. Please see https://aka.ms/azps-version-error for troubleshooting information.
Please allow task to run ealier Az.Accounts version OR publish a separate version of this task so we can select task version accurate to our environnement. (Ie "version": "2.00.0000" ?)