As a PowerShell admin, you must know the quickest way to uninstall the Azure AD module in PowerShell. I have identified some quick approaches. Let us discuss those approaches one by one.
Table of Contents
Approach-1 Using the Uninstall-Module command
Follow the below steps.
1. Open the PowerShell ISE with Run as an administrator mode.

2. You can execute the PowerShell command below.
Uninstall-Module -Name AzureADAfter executing the above command, the AzureAD module was successfully uninstalled, as shown in the screenshot below.

Now cross-check if you will execute the script below. We got the error since the Azure AD module is not available. Check out the screenshot below.
Get-InstalledModule -Name AzureAD -AllVersions
Approach-2 Uninstalling specific version of Azure AD
Follow the below steps.
1. Execute the below PowerShell script to see the installed version of Azure AD.
Get-InstalledModule -Name AzureAD -AllVersionsAfter executing the PowerShell command, I got the expected output, as shown below.

2. Now, execute the below PowerShell command to delete the specific version of the Azure AD module.
Uninstall-Module -Name AzureAD -RequiredVersion 2.0.2.182After executing the above command, I got the expected output below.

Now cross-check if you will execute the script below. We got the error since the Azure AD module is not available. Check out the screenshot below.
Get-InstalledModule -Name AzureAD -AllVersions
Approach-3: Remove the Azure AD module manually
Follow the below steps.
1. Navigate to C:\Program Files\WindowsPowerShell\Modules path.
2. Delete the AzureAD folder manually.
Video Tutorial
Conclusion
Uninstalling the Azure AD module in PowerShell is so easy, depending on your specific situation. You can successfully remove the module from your system by following the above approaches.
You may also like following the articles below.
- Disable device in Azure AD
- How to disable a user in Azure AD
- How To Install Azure AZ Module In PowerShell

I am Rajkishore, and I am a Microsoft Certified IT Consultant. I have over 14 years of experience in Microsoft Azure and AWS, with good experience in Azure Functions, Storage, Virtual Machines, Logic Apps, PowerShell Commands, CLI Commands, Machine Learning, AI, Azure Cognitive Services, DevOps, etc. Not only that, I do have good real-time experience in designing and developing cloud-native data integrations on Azure or AWS, etc. I hope you will learn from these practical Azure tutorials. Read more.
