Recently, I got the requirement to import the Azure module in PowerShell. In this article, I will walk you through the quick steps to import Azure module in PowerShell.
How To Import Azure Module In PowerShell
To import Azure Module in PowerShell, follow the below steps.
1. The first step is to install Azure PowerShell.
2. After successfully installing the Azure module, you can execute the below PowerShell command to import the Azure PowerShell module.
Import-Module AzAfter executing the above command, I got the expected output, and the Azure module was imported successfully, as shown in the screenshot below.

3. Now, after importing the Azure module, you can run the Connect-AzAccount command below to connect to your Azure Account.
Connect-AzAccountNow, after executing the above command, I got the expected output as shown in the below screenshot.

You may also like following the articles below.
- How To Install Azure AZ Module In PowerShell
- How To Uninstall Azure AD Module In PowerShell
- The term ‘connect-azaccount’ is not recognized as the name of a cmdlet
- Disconnect-AzAccount

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.
