Office 365 System Requirements (Discovery or Sync) v4.1.0
Created: 2015-09-23 16:57:32Modified: 2023-03-27 11:57:48
Tags: Office 365 System Requirements UnitySync
As of October 1, 2022, Discovery or Sync of an o365 tenant requires UnitySync v4.1 AND requires that your tenants have EXO v2.0.5 (Modern Auth) enabled.
(This requirements is due to Microsoft’s forced deprecation of Basic authentication in Exchange Online which became effective October 1, 2022).
NOTE: if you are running v4.1.13, the below info does not apply. Please see the updated System requirements for v4.1.13 and newer.
You can download the latest version of UnitySync here.
Office 365 Discovery or Synchronization require the following:
Exchange Online PowerShell V2 module EXO v2.0.5. (Note: Exo v3 is not yet supported. If both v2.0.5 and v3.0 are installed, v3.0 must be removed).
PowerShell installed v5.1 or greater
Note: To confirm your powershell version, run the following from a Powershell prompt:
C:\$PSVersionTable
Javascript enabled in your browser
Finally, edit the v4.1.0 o365.ps1 file as follows:
a) Make a backup copy of \bin\o365.ps1
b) Open \bin\o365.ps1 to edit.
c) Make the following change:
After this line:
$UserCredential = new-object -typename System.Management.Automation.PSCredential -argumentlist $username,$passwordINSERT this line: [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
d) Save \bin\o365.ps1
If not using an o365 admin login ID**, refer to Prepare Directory Servers: Office 365 (O365) for detailed info on required o365 permission requirements.
IMPORTANT NOTE: If you have an existing O365 connection and want to disable Basic Auth, please upgrade to v4.1 or newer prior to disabling Basic Auth. (Differences in Microsoft powershell commands for Basic Auth and EXOV2 may cause unexpected results if you disable Basic Auth on any existing connection prior to v4.1.
Review other O365 recommendations, tips and troubleshooting info here.