Microsoft Graph Beta User Module | Can't install due to not enough disk space

Brass Contributor


I am trying to install the graph beta module but it is aborting on the Identity.Governance package due to "not enough disk space" which is not true as I have 1,1G avaible on C:.
Any hints?



PS C:\> install-module microsoft.graph.beta -allowclobber -force
PackageManagement\Install-Package : Package 'Microsoft.Graph.Beta.Identity.Governance' failed to be installed because:
There is not enough space on the disk. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\\PSModule.psm1:1809 char:21 + ... $null = PackageManagement\Install-Package @PSBoundParameters + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidResult: (Microsoft.Graph.Beta.Identity.Governance:String) [Install-Package], Exce ption + FullyQualifiedErrorId : Package '{0}' failed to be installed because: {1},Microsoft.PowerShell.PackageManagement .Cmdlets.InstallPackage PS C:\>

2 Replies
best response confirmed by Joao Casqueiro (Brass Contributor)
It downloads the module to the TEMP location first. Did you relocate that to a disk with insufficient space? Could you add the -Verbose parameter to the install-module command and post the results?

Hi Harm,

Actually, I have freed some more space in drive C: and it installed ok. It seems 1.1G is not enough.
Thanks for the coop/All teh best