Linux compatibility for AzureAD Powershell Module
As mentioned in https://github.com/PowerShell/PowerShell/issues/5274, the AzureAD module is not compatible with Linux.

This is in the works, hoping to be able to release a new version in the next couple of weeks that supports running on Linux (and Mac)
21 comments
-
Alen commented
Any news? It's still not working in mac.
-
Rob Birdwell commented
Any update on when Linux/Mac will be supported?
-
Carmine Punella commented
Any news? Last official comment says "couple of weeks"... thanks
-
Anonymous commented
Teams calling is now supported in Chrome, so the move to Linux is just waiting on this. On Aug 15, the last update was that the Azure Team was hoping to have it within the next couple of weeks. Any news yet?
-
John Heusinger commented
Any updates on this?
I see that there is a module authored by Microsoft called AzureAD.Standard.Preview but I'm reluctant to use it since it hasn't been updated in over a year:
https://www.poshtestgallery.com/packages/AzureAD.Standard.Preview
Is this what the new version will be based on?
-
Anonymous commented
do we have a release for this? the previous comment said next couple weeks.
-
Anonymous commented
Do we have new version released which supports Linux and Mac. Because i am still receiving the same error while trying to install ADAL module in linux.
PS /home/dinesh/CloudDrive/azure-support-scripts/VMRecovery/ResourceManager> Install-Module -Name ADAL.PS -RequiredVersion 3.19.4.2
Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its InstallationPolicy value by running the Set-PSRepository cmdlet. Are you sure you want
to install the modules from 'PSGallery'?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): Y
PackageManagement\Install-Package : Unable to load shared library 'api-ms-win-core-sysinfo-l1-1-0.dll' or one of its dependencies. In order to help diagnose loading problems, consider setti
ng the LD_DEBUG environment variable: libapi-ms-win-core-sysinfo-l1-1-0.dll: cannot open shared object file: No such file or directory
At /opt/microsoft/powershell/6/Modules/PowerShellGet/PSModule.psm1:9508 char:21
+ ... $null = PackageManagement\Install-Package @PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Microsoft.PowerShel\u2026lets.InstallPackage:InstallPackage) [Install-Package], Exception
+ FullyQualifiedErrorId : System.DllNotFoundException,Microsoft.PowerShell.Commands.TestModuleManifestCommand,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackagePS /home/dinesh/CloudDrive/azure-support-scripts/VMRecovery/ResourceManager>
-
Courtney Owen commented
Hi, just wanted to see if there is any update on when the AzureAD module will be available for Linux (Mac). I see the last update was almost a couple months ago. Thanks
-
Brian Griffeth commented
Looking forward to this. I'm O365 and I'm doing just fine in Linux except for this and Teams not having Linux support for phone system (browser only).
-
Russell Coker commented
Would also be nice if the Azure CLI package for Linux supported all the functions of the Powershell module. I don't mind using the Azure CLI or Powershell just as long as I can do it on Linux.
-
This is in the works, hoping to be able to release a new version in the next couple of weeks that supports running on Linux (and Mac)
-
Josef Schabasser commented
AzureAD is not supported on Linux - and that's a shame!
-
Lee, Matt (Wichita) commented
Just wanting to chime in on this. In Identity\Security we have an incredibly diverse set of endpoints and infrastructure and need to interact with Azure from some linux hosts using Powershell Core. We would just call the Graph API natively but the things we need to do aren't exposed in even the beta API yet, just in powershell via the AzureAD Powershell Module.
-
Anonymous commented
Would love to see this. Especially folks in security/identity space have a higher distribution of non-windows clients.
-
Anonymous commented
With PowerShell being ported to Linux and macOS it makes sense that modules, especially one as heavily used by sysadmins that are more likely to be running alternative platforms on their machines, should be ported.
-
Anonymous commented
Same for Microsoftteams module
-
Anonymous commented
Really waiting for this feature to come out. I've got different business cases waiting for this to work!
-
George Young commented
Please please do this.
-
Anonymous commented
In order to automate tasks in AWS Lambda AzureAD Powershell needs to be compatible with Linux.
-
Anonymous commented
I would LOVE cross-platform compatibility!