PowerShell, which was originally a Windows-only component, and now it has been open-source and cross-platform. This means you can now use it on Mac OS as well as on all the many different flavors and distributions of Linux. In this article, we are going to see the steps required to install the Azure PowerShell module on your local machine.
You can use the Azure Active Directory PowerShell Module Version for Azure AD administrative tasks such as user management, domain management, and configuring single sign-on. Before you start make sure you have installed PowerShell.
Open terminal type pwsh to open powershell
To Install General Availability version
To install the public preview release, use
Note that you cannot install both the preview version and the GA version on the same computer at the same time.
Note: The Azure AD Module is supported on the Windows 10, 8, 7, Windows Server 2012 R2, 2012, or 2008 R2 operating systems with the default version of Microsoft .NET Framework and Windows PowerShell.