Microsoft Azure Active Directory Module For Windows Powershell Download ((full)) Direct

: Run the following command to download and install the General Availability (GA) version: powershell Install-Module -Name AzureAD Use code with caution.

For modern environments, Microsoft now recommends the Microsoft Graph PowerShell SDK or the Microsoft Entra PowerShell module.

If you still need the legacy module for specific older scripts, here is how to find, install, and ultimately migrate it. : Run the following command to download and

Note: Microsoft is performing "temporary outage tests" in early 2025 where these modules will stop working for several hours at a time to encourage migration. Action required: MSOnline and AzureAD PowerShell retirement

If you need the older MSOnline version for legacy scripts, use: powershell Install-Module -Name MSOnline Use code with caution. Note: Microsoft is performing "temporary outage tests" in

It is important to note that these modules are in a phased "retirement" period. Scripts using them will eventually fail. End of Support Retirement Date March 30, 2025 Late May 2025 AzureAD / AzureADPreview March 30, 2025 Mid-October 2025

Looking to download the ? While many guides still point to this legacy tool, Microsoft has officially deprecated it as of March 30, 2024. Support and functionality are scheduled to end entirely by mid-October 2025 . Scripts using them will eventually fail

: You may be prompted to install the NuGet provider and trust the PSGallery repository. Type Y or A (Yes to All) for both.