Forum Discussion
chabi870
Feb 20, 2023Copper Contributor
What are the required endpoints?
I want to execute Install-Module of PowerShell Gallery.
But I can't install. What are the required endpoints? Is it OK if I allow the following endpoints?
- psg-prod-centralus.azureedge.net : CDN (Content Delivery Network)
- psg-prod-eastus.azureedge.net : CDN (Content Delivery Network)
- az818661.vo.msecnd.net : CDN (Content Delivery Network)
- devopsgallerystorage.blob.core.windows.net : Strage account
- *.powershellgallery.com : Web site
- go.microsoft.com : redirect service
- onegetcdn.azureedge.net : NuGet provider of PowerShellGet/PackageManagement
>> Install-Module PowerShellGet -AllowClobber -Force
PackageManagement\Install-Package : Unable to find module providers (PowerShellGet).
>> Get-PSRepository
WARNING: Unable to resolve package source
>> Get-Module PowerShellGet,PackageManagement -ListAvailable
C:\Program Files\WindowsPowerShell\Modules
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Binary 1.0.0.1 PackageManagement {Find-Package, Get-Package, Get-PackageProvider, Get-Packa...
Script 1.0.0.1 PowerShellGet {Install-Module, Find-Module, Save-Module, Update-Module...}
- chabi870Copper ContributorI fail "Install-Module PowerShellGet -AllowClobber -Force".
Error: PackageManagement\Install-Package : Unable to find module providers (PowerShellGet).
I think I need to apply to the proxy team. So, I want to know the endpoint for PowerShellGet.
And I want to connect the authorized M365 service.- You could try this for testing https://powershellisfun.com/2022/09/29/test-if-microsoft-services-tcp-ports-are-accessible/
This should give you the endpoints https://powershellisfun.com/2022/09/22/get-all-microsoft-ip-and-fqdns-for-their-services/