Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.21k stars 3.81k forks source link

Failure when Install-Module az when operating in Constrained Language Mode #22799

Open aneillans opened 1 year ago

aneillans commented 1 year ago

Description

Latest version installed from MSI

Open PowerShell Core

Issue Install-Module az

Receive an error regarding Az.Advisor being of different language mode than the module.

The machine is operating with DeviceGuard configured; I am able to successfully load some of the modules specifically - such as Az.Accounts etc so this would appear to be a signing consistency issue?

Issue script & Debug output

N/A

Environment data

PSVersion 7.3.4
PSEdition Core
OS Microsoft Windows 10.0.19045

Module versions

Latest

Error output

No response

isra-fel commented 12 months ago

This could be related to the generated modules. @dolauli please double check. Thanks.

isra-fel commented 11 months ago

We should consider testing CLM regularly Consider updating AzPS ver on SAW

dipeshbhakat-microsoft commented 7 months ago

Any update? I am facing this issue