Skip to content

Cannot install latest 3.3.0 version from psgalley: authenticode signature of the file 'PnP.PowerShell.psd1' is not valid #5394

Closed

Description

@KeysAU

Same issue as a previous verison - #2962

Cannot install latest 3.3.0 version from psgalley: authenticode signature of the file 'PnP.PowerShell.psd1' is not valid

PS C:\Program Files\PowerShell\7> $PSVersionTable

Name Value


PSVersion 7.6.2

PS C:\Program Files\PowerShell\7> Install-Module -Name pnp.powershell -Repository psgallery -Scope CurrentUser

Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its
InstallationPolicy value by running the Set-PSRepository cmdlet. Are you sure you want to install the modules from
'PSGallery'?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): a
Install-Package: The module 'PnP.PowerShell' cannot be installed or updated because the authenticode signature of the file
'PnP.PowerShell.psd1' is not valid.

Activity

  1. gautamdsheth commented on Jul 18, 2026

    @gautamdsheth
    Collaborator

    Cant repro this issue, looks like an issue specific to your environment. Possible that you might have a corporate firewall or proxy or something that might be causing this, we sign all releases , major and nightly builds. Maybe try this in a different machine or environment ? Possible that validation might be stale in your end , not sure.

  2. locked and limited conversation to collaborators on Jul 18, 2026
  3. converted this issue into a discussion #5403 on Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions