Install and use Azure AD module on Ubuntu 20.04

Khaled Laghrour 11 Reputation points

Hello to all,

Do you know if there is any way to install and use Azure AD GA powershell module on Ubuntu 20.04 machine.

Thank you in advance.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,635 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Siva-kumar-selvaraj 15,566 Reputation points

    Hello @Khaled Laghrour ,

    Thanks for reaching out.

    AzureAD module is only supported on non-core Windows PowerShell, therefore it does not work on core PS6 or PS7.

    Moreover, AzureAD module is in the deprecated path (no new features). MS Graph PowerShell is replacing it which also works with PowerShell 7 and later and on all platforms including Windows, macOS, and Linux.

    Microsoft Graph PowerShell SDK is based on Microsoft Graph API. The Microsoft Graph API includes, in addition to Azure AD, APIs from other Microsoft services like SharePoint, Exchange, Outlook, etc, all accessed through a single endpoint with a single access token. Azure AD Graph PowerShell is based on Azure AD Graph which is deprecated. To learn more on migrating from Azure AD Graph to Microsoft Graph see Microsoft Graph or Azure AD Graph.

    Microsoft Graph PowerShell overview
    Microsoft Graph PowerShell SDK

    Hope this was helpful.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments