microsoftgraph / msgraph-sdk-powershell

Powershell SDK for Microsoft Graph
https://www.powershellgallery.com/packages/Microsoft.Graph
Other
675 stars 156 forks source link

Install-PSResource: The signature for 'Microsoft.Graph.Beta' is 'NotSigned. #2801

Open danielniccoli opened 2 weeks ago

danielniccoli commented 2 weeks ago

Describe the bug

PS C:\> find-Module Microsoft.Graph.Beta

Name                 Version Prerelease Repository Description
----                 ------- ---------- ---------- -----------
Microsoft.Graph.Beta 2.19.0             PSGallery  Microsoft Graph PowerShell module

PS C:\> Install-Module Microsoft.Graph.Beta
Install-PSResource: The signature for 'Microsoft.Graph.Beta' is 'NotSigned.
Install-PSResource: Package(s) 'Microsoft.Graph.Beta' could not be installed from repository 'PSGallery'.

Expected behavior

Installs the module

How to reproduce

PS C:\> find-Module Microsoft.Graph.Beta

Name                 Version Prerelease Repository Description
----                 ------- ---------- ---------- -----------
Microsoft.Graph.Beta 2.19.0             PSGallery  Microsoft Graph PowerShell module

PS C:\> Install-Module Microsoft.Graph.Beta
Install-PSResource: The signature for 'Microsoft.Graph.Beta' is 'NotSigned.
Install-PSResource: Package(s) 'Microsoft.Graph.Beta' could not be installed from repository 'PSGallery'.

SDK Version

2.19.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ``` ```

Configuration

No response

Other information

No response

rbarbrow commented 1 week ago

I get the same error with just install-module Microsoft.Graph

"Install-PSResource: The signature for 'Microsoft.Graph' is 'NotSigned. Install-PSResource: Package(s) 'Microsoft.Graph' could not be installed from repository 'PSGallery'."