How To Install Required Office 365/Azure Modules

  • Post author:
  • Post category:Microsoft

Say if you’re trying to do something in 365/Azure via PowerShell and the instructions you find have you run certain commands that come back as ‘not found’. You need to install the required modules. Here’s are to do so.

The ‘Main’ 365 Module:

Install-module MSONline
Import-module MSONline

The Module Required to Run any MSOL Commands:

Install-module exchangeonlinemanagement
Import-module exchangeonlinemanagement

The Module to Administer Teams

Install-module Microsoftteams
Import-module Microsoftteams

The Module Required to Connect to Azure

Install-module AzureAD
Import-module AzureAD

Jason

Jason works as a project specialist at an IT MSP in Pennsylvania, USA. He's an IT/security professional with 20 years experience.