Skip to content

PackageManagement module fails to update when using AppLocker #1278

Closed
@johlju

Description

@johlju

The preview extension asks to replace the PackageManagement module which throws an error when using AppLocker (ConstrainedLanguage mode).

image

PackageManagement\Install-Package : An error has occurred while loading script module PackageManagement because it has a different language mode than the module manifest. The manifest la
nguage mode is ConstrainedLanguage and the module language mode is FullLanguage. Ensure all module files are signed or otherwise part of your application allow list configuration.

Originally posted by @johlju in #1221 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions