You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
i also have the same issue. i can install "Microsoft.Graph" but not "Microsoft.Graph.Entra".
error: 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.
i also have the same issue. i can install "Microsoft.Graph" but not "Microsoft.Graph.Entra".
error: 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.
i was missing the command "-AllowPrerelease". adding that worked
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
Additional context Can you please confirm if there's a general workaround that we could add to the troubleshooting or to the installation article?
The person who provided this feedback is trying to install the module using the x86 version of Windows PowerShell. As noted in the article, PowerShell 7 is recommended for the the Microsoft.Graph.Entra module. Their use of the x86 version is particularly odd. :) That said, I did try following the installation steps in Windows PowerShell x86 and the x86 PowerShell ISE. Both worked as expected.
Beyond that, it looks like some formatting, details, and characters were corrupt or lost during copy/paste of the error message. Note "At C:\Program Files (x86)\WindowsPowerShell\Modules\PowerShellGet.0.0.1\PSModule.psm1" which is not a valid path.
Thanks for reporting the bug. Please ensure you've gone through the following checklist before opening an issue:
Microsoft.Graph.Entra
orMicrosoft.Graph.Entra.Beta
.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?
The text was updated successfully, but these errors were encountered: