Configure Connection
Microsoft Exchange Online guide
Follow this focused guide to configure and validate Microsoft Exchange Online in NIM.
-
Run the following PowerShell command on the NIM server to install the required module:
if (!(Get-Module -ListAvailable -Name 'ExchangeOnlineManagement')) {[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12if (!(Get-PackageProvider -ListAvailable | Where-Object { $_.Name -eq 'NuGet' }) -or(Get-PackageProvider -Name 'NuGet').Version -lt '2.8.5.201') {Install-PackageProvider -Name 'NuGet' -MinimumVersion '2.8.5.201' -Force}Install-Module -Name 'ExchangeOnlineManagement' -Force -AllowClobber}