Exchange Data Collector - O365 Scanning Prerequisites


If you are planning on scanning an O365 Exchange environment using the following option in the RapidFire Tools Exchange Data Collector you must first ensure you have properly configured your computer with the appropriate PowerShell modules. 

Please follow the steps below to properly configure your computer to scan O365 Exchange using the Kaseya RapidFire Tools Exchange Data Collector. 


Step 1: Install the Microsoft Online Services Sign-in Assistant

Microsoft Online Services Sign-in Assistant msi

Step 2: Install the Azure AD PowerShell Module


Open an administrative PowerShell Command Prompt Window and run the following command.

Install-Module -Name AzureAD


By default, the PowerShell Gallery (PSGallery) isn't configured as a trusted repository for PowerShellGet. The first time you use the PSGallery, you may see the following message:


Untrusted repository

You are installing the modules from an untrusted repository. If you trust this repository, change its InstallationPolicy value by running the `Set-PSRepository` cmdlet.

Are you sure you want to install the modules from 'PSGallery'?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"):


Answer Yes or Yes to All to continue with the installation.

Step 3: Run this command to import the AzureAD module:

Import-Module AzureAD


Step 4: Install the PowershellGet Module by running the following command

Install-Module PowershellGet -Force
Import-Module PowershellGet

Step 5: Install the Exchange Online Management Module using the following command

Install-Module -Name ExchangeOnlineManagement
Import-Module -Name ExchangeOnlineManagement

If prompted and asked to install from the untrusted repository, press Y and then Enter.



Have more questions?

Contact us

Was this article helpful?
0 out of 0 found this helpful

Provide feedback for the Documentation team!

Browse this section