You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the AzurePowerShell@5 task requires an older version of Az.Accounts however when installing the newest version of Az.Resources v6.0 is take a dependency on Az.Accounts that does not work within the AzurePowerShell@5 task currently.
This module requires Az.Accounts version 2.8.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.
Expected behaviour
Currently the only work around is to remove the dependency on Az.Accounts and Az.Resources until the task is updated to support newer versions. While we could pin the version that PSRule for Azure uses, it would break as soon a the task is updated.
Module in use and version:
Module: PSRule.Rules.Azure
Version: 1.15.2
The text was updated successfully, but these errors were encountered:
Description of the issue
Currently the
AzurePowerShell@5
task requires an older version ofAz.Accounts
however when installing the newest version ofAz.Resources
v6.0 is take a dependency onAz.Accounts
that does not work within theAzurePowerShell@5
task currently.Expected behaviour
Currently the only work around is to remove the dependency on
Az.Accounts
andAz.Resources
until the task is updated to support newer versions. While we could pin the version that PSRule for Azure uses, it would break as soon a the task is updated.Module in use and version:
The text was updated successfully, but these errors were encountered: