Title: Receiving random Source Location is not valid while attempting to install-module AZ · Issue #357 · PowerShell/PowerShellGallery · GitHub
Open Graph Title: Receiving random Source Location is not valid while attempting to install-module AZ · Issue #357 · PowerShell/PowerShellGallery
X Title: Receiving random Source Location is not valid while attempting to install-module AZ · Issue #357 · PowerShell/PowerShellGallery
Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest version Search the existing issues. Steps to reproduce I have been attempting to install the Az module for the past 2 days. Every attempt results i...
Open Graph Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest version Search the existing issues. Steps to reproduce I have been attempting to install the Az module for ...
X Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest version Search the existing issues. Steps to reproduce I have been attempting to install the Az module for ...
Opengraph URL: https://github.com/PowerShell/PowerShellGallery/issues/357
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Receiving random Source Location is not valid while attempting to install-module AZ","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\n\nI have been attempting to install the Az module for the past 2 days. Every attempt results in a different package erroring. For example, \nWARNING: Source Location 'https://www.powershellgallery.com/api/v2/package/Az.ResourceGraph/1.3.0' is not valid.\nPackageManagement\\Install-Package : Package 'Az.ResourceGraph' failed to download.\n\nThe source location is valid. I have made sure that I am using TLS 1.2. I have attempted on Powershell 5.1 and 7.6. I have attempted on 2 separate machines located on completely separate networks. Once is Windows Server 2022 and the other is Windows 11. The Windows Server is an Azure VM. Same results but different packages error each time even after successive calls. \nInstall command is:\nInstall-Module -Name Az -Repository PSGallery -Force -AllowClobber -Scope CurrentUser\n\nI have also marked the respository trusted.\n\n### Expected behavior\n\n```console\nI expect the installation to be successful.\n```\n\n### Actual behavior\n\n```console\nFor example:\nWARNING: Source Location 'https://www.powershellgallery.com/api/v2/package/Az.ResourceGraph/1.3.0' is not valid.\nPackageManagement\\Install-Package : Package 'Az.ResourceGraph' failed to download.\n```\n\n### Error details\n\n```console\nWARNING: Source Location 'https://www.powershellgallery.com/api/v2/package/Az.ResourceGraph/1.3.0' is not valid.\nPackageManagement\\Install-Package : Package 'Az.ResourceGraph' failed to download.GET\n```\n\n### Environment data\n\n```PowerShell\nPS C:\\Windows\\system32> $PSVersionTable\n\nName Value \n---- ----- \nPSVersion 5.1.20348.5756 \nPSEdition Desktop \nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} \nBuildVersion 10.0.20348.5756 \nCLRVersion 4.0.30319.42000 \nWSManStackVersion 3.0 \nPSRemotingProtocolVersion 2.3 \nSerializationVersion 1.1.0.1\n```\n\n### Version\n\n5.1.20348.5756\n\n### Visuals\n\n_No response_","author":{"url":"https://github.com/rlfink","@type":"Person","name":"rlfink"},"datePublished":"2026-10-27T14:24:20Z","url":"https://github.com/PowerShell/PowerShellGallery/issues/357"}
| 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 | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4547ba4a-2eb0-c947-da46-016b12e4c796 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D440:1FFE36:E21AC:13D0FC:6AFD6B73 |
| html-safe-nonce | 8824b1cda6769a54bbdd7797277e892fdf7f260e709aa28b215e62500bdb1282 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDQwOjFGRkUzNjpFMjFBQzoxM0QwRkM6NkFGRDZCNzMiLCJ2aXNpdG9yX2lkIjoiMjY3NDE0MjgxNzQ4NzI1MjMzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 45da1fd40742c380190e623c816e3fd69273df8ac7512eaf76df0209d732c1e6 |
| hovercard-subject-tag | issue:6061125625 |
| 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/_view_fragments/issues/show/PowerShell/PowerShellGallery/357/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b99c50cdec00697f61f2f6b9b90654cf42d186f4f2127417fa2dabf8d9db2ec9/PowerShell/PowerShellGallery/issues/357 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b99c50cdec00697f61f2f6b9b90654cf42d186f4f2127417fa2dabf8d9db2ec9/PowerShell/PowerShellGallery/issues/357 |
| og:image:alt | Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest version Search the existing issues. Steps to reproduce I have been attempting to install the Az module for ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rlfink |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9985ca2e21b59673104d4d830d4afeb946c67f248f273ab2e824c31c8db46e4a |
| turbo-cache-control | no-preview |
| 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