Setup AzureAD in PowerShell

Introduction

In this blog, we'll see how to set up Azure Active Directory in Powershell in 3 steps.

Requirement

Access Azure Active Directory in Powershell.

Step 1

Open Windows Powershell from your desktop as an admin.

azure active directory in Powershell

Step 2

Before accessing AzureAD we have to install AzureAD into our desktop.

Run the following command to install AzureAD “Install-Module AuzreAD”.

azure active directory in Powershell

Step 3

It will ask for permission to install.

azure active directory in Powershell

Press ‘A’ and click enter to proceed with the installation.

azure active directory in Powershell

azure active directory in Powershell

Once the installation is done you can access the AzureAD command in your local PowerShell.

Conclusion

In this tutorial, we have seen how to set up the azure active directory in Powershell.

Leave a command if there's an issue.

Catch you all in a new blog.

Happy learning!

Next Recommended Reading Provisioning Azure VM Using PowerShell