Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"No match was found for the specified search criteria and module name 'Microsoft.Graph.Entra'." error during installation #1201

Open
csmulligan opened this issue Nov 11, 2024 · 0 comments
Labels

Comments

@csmulligan
Copy link
Contributor

csmulligan commented Nov 11, 2024

Thanks for reporting the bug. Please ensure you've gone through the following checklist before opening an issue:

  • Make sure you can reproduce this issue using the latest released version of Microsoft.Graph.Entra or Microsoft.Graph.Entra.Beta.
  • Please search the existing issues to see if there has been a similar issue filed.

Describe the bug
Customer reported the following error when installing the module following this article.

-allowprerelease invalid parameter-repository PSGallery is invalidPS C:\WINDOWS\system32> Install-Module -Name Microsoft.Graph.Entra -Repository PSGallery -Scope CurrentUser -ForcePackageManagement\Install-Package : No match was found for the specified search criteria and module name 'Microsoft.Graph.Entra'. Try Get-PSRepository to see all available registered module repositories.At C:\Program Files (x86)\WindowsPowerShell\Modules\PowerShellGet.0.0.1\PSModule.psm1:1809 char:21+ ... $null = PackageManagement\Install-Package @PSBoundParameters+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Microsoft.Power.... InstallPackage:InstallPackage) [Install-Package], Exception + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage PS C:\WINDOWS\system32> get-psrepositoryName InstallationPolicy SourceLocation

To Reproduce
I could not reproduce the issue, the installation works for me.

Expected behavior
The module installation runs through without any issues.

Debug Output
N/A

Module Version
N/A

Environment Data
N/A

Screenshots
N/A

Additional context
Can you please confirm if there's a general workaround that we could add to the troubleshooting or to the installation article?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant