Skip to main content

PowerShell Modules Required for O365 Configuration

Question

What PowerShell Modules and PackageProviders are required to use the below instant jobs for setting up Entra, Exchange Online, and SharePoint Online auditing with Access Analyzer?

  • AADI_RegisterAzureAppAuth
  • SP_RegisterAzureAppAuth
  • EX_RegisterAzureAppAuth

Answer

The following PowerShell Modules and PackageProviders are required for their respective Instant Job:

AADI_RegisterAzureAppAuth

  • PowerShellGet
  • NuGet
  • Az.Accounts
  • Microsoft.Graph

EX_RegisterAzureAppAuth

  • AzureAD
  • ExchangeOnlineManagement

SP_RegisterAzureAppAuth

  • AzureAD

To install these modules and package providers, the following commands can be run in an Admin PowerShell:

Install-Module -Name PowerShellGet -Force
Install-PackageProvider -Name NuGet -Force
Install-Module -Name Az.Accounts -Force
Install-Module -Name Microsoft.Graph -Force
Install-Module -Name AzureAD -Force
Install-Module -Name ExchangeOnlineManagement -Force