Hi CSA - HFR HERMES,
Welcome to the Microsoft Q&A Platform. Thank you for posting your query here.
I have tried to download it in Windows (Windows Server 2019 Datacenter) and it worked.
Since you have mentioned that the packages are accessible from a web browser, it means the issue is likely related to PowerShell's ability to download them rather than network connectivity in general.
Check PSFramework
:C:\Program Files\WindowsPowerShell\Modules\PSFramework. If it does not exist download it https://www.powershellgallery.com/packages/PSFramework/1.0.19
Check PowerShell Execution Policy
Run the following to see if execution policies are preventing module installation:
Get-ExecutionPolicy -List
If the policy is restrictive (Restricted
or AllSigned
), temporarily set it to Unrestricted or Bypass:
Set-ExecutionPolicy Bypass -Scope Process -Force
Then try installing the module again.
Alternate workaround: Install the module manually
https://www.powershellgallery.com/packages/d365fo.tools/0.7.20
https://learn.microsoft.com/en-us/powershell/gallery/how-to/working-with-packages/manual-download?view=powershellget-3.x
Hope this helps!
Let me know if you have further queries!
If the comment is helpful, please click "upvote" to let us know.