Install and use Azure AD module on Ubuntu 20.04

asked 2021-11-26T00:03:21.347+00:00
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.

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,544 questions
{count} votes

1 answer

Sort by: Most helpful
  1. answered 2021-11-30T07:53:50.127+00:00
    Siva-kumar-selvaraj 15,081 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.

    Reference:
    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.

    No comments