Skip to content

Unable to install Microsoft Graph PowerShell from the nukpg file.  #1342

Closed

Description

@willfiddes

Repro steps:

Register-PackageSource -Name PSR -Location C:\AAD\Apps\powershell\GraphRepository\ -ProviderName NuGet -Trusted

Place files into the local repository i.e. microsoft.graph.1.10.0.nupkg; microsoft.graph.authentication.1.10.0.nupkg

Install-Package -Name Microsoft.Graph.Authentication -Source PSR
Install-Package : No match was found for the specified search criteria and package name 'Microsoft.Graph.Authentication'. Try
Get-PackageSource to see all available registered package sources.

Find-Package -Source PSR returns no results.

Other nukpg files work such as Azure AD PowerShell module

Activity

  1. peombwa commented on Jun 24, 2022

    @peombwa
    Member

    willfiddes, I'm not able to reproduce this on my end using the steps provided above.
    image

    Tested using:

    ➜ Get-Module PackageManagement
    
    ModuleType Version    PreRelease Name                                ExportedCommands
    ---------- -------    ---------- ----                                ----------------
    Script     1.4.7                 PackageManagement                   {Find-Package, Find-PackageProvider, Get-Package, Get-PackageP…

    Try running Install-Package with -Debug to see where the issue is coming from. I suspect it is something to do with your environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions