In order to make use of the PowerShell commands to manage your Azure AD environment you can install the Azure AD module for PowerShell as follows.
Steps to install Azure AD for PowerShell
- Step 1: Open PowerShell, make sure you open it as an administrator.
- Step 2: To install Azure AD for the PowerShell module run the below command.
Install-Module AzureAD - Step 3: After the module is installed, you would need to connect Azure AD by running the below command,
Connect-AzureAD - Step 4: Once connected, you should see the Azure AD tenant name displayed in the PowerShell prompt.
Test if the connection was successful by running a command like Get-AzureADUser
Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!