How to install the Azure Active Directory PowerShell Module

Configurare noua (How To)

Situatie

In order to connect to manage users and organisation settings in Office 365 via Powershell, you need to install the Azure Active Directory PowerShell Module. This can be simply installed via PowerShell itself.

Solutie

Pasi de urmat
  • Open the Start menu on your computer and search for ‘Powershell’
  • Right-click on Windows PowerShell and choose ‘Run as administratorRun PowerShell As Administrator
  • Type the following command and press enter.
Install -Module -Name MSOnline
  • Type “Y” to install and import the NuGet provideInstall Azure Active Directory PowerShell Module with Install-Module MSOnline Cmdlet
  • Type “Y” again to trust the provideAccept Terms and InstallAzure Active Directory PowerShell Module

Wait for the package to install, then type the following to enter your Office 365 admin credentials and connect to Azure Active Directory via PowerShell:

Connect-MsolService

Run Connect-MsolService To Connect to Azure Active Directory Powershell Module

Once the Azure Active Directory PowerShell module has been installed, you only need to run the Connect-MsolService command to connect to the Azure AD service on  PC.

Tip solutie

Permanent

Voteaza

(4 din 12 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?