Title: Unable to Install Az Modules · Issue #316 · PowerShell/PowerShellGallery · GitHub
Open Graph Title: Unable to Install Az Modules · Issue #316 · PowerShell/PowerShellGallery
X Title: Unable to Install Az Modules · Issue #316 · PowerShell/PowerShellGallery
Description: Contribute to PowerShell/PowerShellGallery development by creating an account on GitHub.
Open Graph Description: Contribute to PowerShell/PowerShellGallery development by creating an account on GitHub.
X Description: Contribute to PowerShell/PowerShellGallery development by creating an account on GitHub.
Opengraph URL: https://github.com/PowerShell/PowerShellGallery
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to Install Az Modules","articleBody":"### Prerequisites\n\n- [x] Write a descriptive title.\n- [x] Make sure you are able to repro it on the latest version\n- [x] Search the existing issues.\n\n### Steps to reproduce\n1. Run : Install-Module -Name Az -Repository PSGallery -Force\n2. Asks permission to accept \"NuGet provider is required to continue\" provide 'Y'\n\nExperiencing below mentioned error when trying to install Az modules using powershell \n\n\n### Expected behavior\n\n```console\nInstalled Successfully\n```\n\n### Actual behavior\n\n```console\nPackageManagement\\Install-PackageProvider : No match was found for the specified search criteria for the provider 'NuGet'. The package provider requires 'PackageManagement' and 'Provider' tags. Please check if the specified package has\nthe tags.\n```\n\n### Error details\n\n```console\nWARNING: Unable to download from URI 'https://onegetcdn.azureedge.net/providers/nuget-2.8.5.208.package.swidtag' to ''.\nWARNING: Unable to download from URI 'https://onegetcdn.azureedge.net/providers/nugetv2.feed.swidtag' to ''.\nWARNING: Unable to download from URI 'https://onegetcdn.azureedge.net/providers/psl.feed.swidtag' to ''.\nPackageManagement\\Get-PackageProvider : Unable to find package provider 'NuGet'. It may not be imported yet. Try 'Get-PackageProvider -ListAvailable'.\nAt C:\\Program Files\\WindowsPowerShell\\Modules\\PowerShellGet\\1.0.0.1\\PSModule.psm1:7478 char:30\n+ ... tProvider = PackageManagement\\Get-PackageProvider -Name $script:NuGet ...\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n + CategoryInfo : ObjectNotFound: (Microsoft.Power...PackageProvider:GetPackageProvider) [Get-PackageProvider], Exception\n + FullyQualifiedErrorId : UnknownProviderFromActivatedList,Microsoft.PowerShell.PackageManagement.Cmdlets.GetPackageProvider\n\nInstall-Module : NuGet provider is required to interact with NuGet-based repositories. Please ensure that '2.8.5.201' or newer version of NuGet provider is installed.\nAt line:1 char:5\n+ Install-Module -Name Az -Repository PSGallery -Force\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n + CategoryInfo : InvalidOperation: (:) [Install-Module], InvalidOperationException\n + FullyQualifiedErrorId : CouldNotInstallNuGetProvider,Install-Module\n```\n\n### Environment data\n\n```PowerShell\nName Value\n---- -----\nPSVersion 5.1.20348.2849\nPSEdition Desktop\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\nBuildVersion 10.0.20348.2849\nCLRVersion 4.0.30319.42000\nWSManStackVersion 3.0\nPSRemotingProtocolVersion 2.3\nSerializationVersion 1.1.0.1\n```\n\n### Version\n\n5.1.20348.2849\n\n### Visuals\n\n_No response_","author":{"url":"https://github.com/Sreekumar6699","@type":"Person","name":"Sreekumar6699"},"datePublished":"2025-06-11T07:01:48Z","url":"https://github.com/PowerShell/PowerShellGallery/issues/316"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:900448ab-47f1-d83f-e044-2dca2faefe37 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C42A:21015E:15576D:1DCE4A:6AFD6E9B |
| html-safe-nonce | 85061c27c45fb6700b9ddeeeb77b8c4387ec20d75c8ea968bf2b40e917fb287d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDJBOjIxMDE1RToxNTU3NkQ6MURDRTRBOjZBRkQ2RTlCIiwidmlzaXRvcl9pZCI6IjU1Njc3NDkyNjIxODUxNjQ0NDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 011619f7ebb0d494006d126c67a1a0908aa0ac59b1e6cf6d83a5d8039b623da2 |
| hovercard-subject-tag | repository:109325695 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/PowerShell/PowerShellGallery/issues/316 |
| twitter:image | https://opengraph.githubassets.com/2a8d8f3b78955b7aace92b4d394c4515c9502c7b58fe7917767b7f31db07a9a5/PowerShell/PowerShellGallery |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2a8d8f3b78955b7aace92b4d394c4515c9502c7b58fe7917767b7f31db07a9a5/PowerShell/PowerShellGallery |
| og:image:alt | Contribute to PowerShell/PowerShellGallery development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9985ca2e21b59673104d4d830d4afeb946c67f248f273ab2e824c31c8db46e4a |
| turbo-cache-control | no-cache |
| go-import | github.com/PowerShell/PowerShellGallery git https://github.com/PowerShell/PowerShellGallery.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 109325695 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShellGallery |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 109325695 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShellGallery |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0db9e8d463c3f4540570e6ad3c501a06db9dc02a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width