Invalid LDIF entry. Attribute expected when using Schemus synchronization tool
search cancel

Invalid LDIF entry. Attribute expected when using Schemus synchronization tool

book

Article ID: 245801

calendar_today

Updated On:

Products

Email Security.cloud

Issue/Introduction

If you are using the latest schemus version 1.52.04, and you received the following error: Invalid LDIF entry. Attribute expected 

Environment

Email Security.cloud

Cause

Exchange Online is returning a message which includes the text "Please install version 2.0.6 of the ExchangeOnlineManagement module" which is corrupting the results, hence causing the schemus to return an error when reading the data source.

Resolution

Clients can install and upgrade their PowerShell to the latest version using the command :

Install-Module ExchangeOnlineManagement -Scope "AllUsers" -MinimumVersion "2.0.6"
To install the modules in Powershell As Administrator, you can use the following commands
 
Install-PackageProvider -Scope "AllUsers" -Name Nuget -MinimumVersion 2.8.5.201
Install-Module ExchangeOnlinemanagement -Scope "AllUsers"