How to Connect to Office 365 Powershell Module

This PowerShell script will install MSOnline and AzureAD modules for Office 365

Powershell command

Install-Module MSOnline
Install-Module AzureAD

However, using ADManager Plus, along with managing your Active Directory objects, you can simply manage your Office 365 accounts and get instant reports from a single console.

Before you set out to add an Office 365 account in ADManager Plus, ensure that you MSOnline PowerShell module for Azure Active Directory is also installed on the machine where ADManager Plus is installed.

Using ADManager Plus, you can:

  • Create Office 365 accounts along with Active directory user account creation.
  • Assign, remove and revoke Office 365 licenses of users.
  • Identify inactive Office 365 users and revoke their licenses on-the-fly.
  • Manage Multi Factor Authentication settings of users.
  • Get license information of the configured Office 365 tenants as predefined reports.

Manage Active Directory, Exchange, and Office 365 with the integrated ADManager Plus console.

  Get 30-day free trial.
  • Embark on your script-free AD management, reporting, and automation journey with ADManager Plus.
  • By clicking 'Start your free trial now', you agree to processing of personal data according to the Privacy Policy.
  • Thanks
  • Your download should begin automatically in 15 seconds. If not, click here to download manually.

Related Powershell How-to Guides:

The one-stop solution toActive Directory Management and Reporting

Email Download Link