Install-Module -Name d365fo.tools -force -verbose doesnt work in virtual machine

CSA - HFR HERMES 0 Reputation points
2025-02-05T17:04:10.2933333+00:00

Hello,

The command line Install-Module -Name d365fo.tools -force -verbose doent work in powershell in our virtual machine (Azure devbox).

We have this error message :

PackageManagement\Install-Package : Package 'PSFramework' failed to download. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21 + ...          $null = PackageManagement\Install-Package @PSBoundParameters +                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     + CategoryInfo          : ResourceUnavailable: (C:\Users\Admin6...Framework.nupkg:String) [Install-Package], Exception     + FullyQualifiedErrorId : PackageFailedInstallOrDownload,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage

image

Package are accessible from the web browser.

Could someone help me ?

Best regards.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,332 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,798 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.