Install AzureAD module on Debian

3

Is it possible to install the AzureAD module to Powershell-6.0.0.alpha on Debian?

The error I receive:

PS /home/user> Set-PSRepository -name PSGallery -InstallationPolicy Trusted
PS /home/user> Install-Module AzureAD
PackageManagement\Install-Package : Unable to load DLL  
'api-ms-win-core-sysinfo-l1-1-0.dll': 
The specified module could not be found.   
(Exception from HRESULT: 0x8007007E)
At /opt/microsoft/powershell/6.0.0-alpha.18/Modules/PowerShellGet/1.1.2.0/PSModule.psm1:1809 char:21
+ ...          $null = PackageManagement\Install-Package @PSBoundParameters
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Power....InstallPackage
   :InstallPackage) [Install-Package], Exception
    + FullyQualifiedErrorId : System.DllNotFoundException,Microsoft.PowerShell.Commands.TestModuleManifestCommand,Microsoft.PowerShell.PackageManagement
  .Cmdlets.InstallPackage

It complains a dll is missing, how to fix it (in Linux there are not dlls, aren't they?).

The powershell has been started with sudo superpowers.

azure
azure-powershell
asked on Stack Overflow Apr 28, 2017 by 473183469 • edited Oct 21, 2018 by 4c74356b41

1 Answer

4

No, it is not possible as of today.

answered on Stack Overflow Apr 28, 2017 by 4c74356b41

User contributions licensed under CC BY-SA 3.0