[Solved] Azure AD sync error: Cannot read property 'reduce' of null

I’m having troubles with setting up my azure ad sync connector (portable version)

I’ve installed the latest version from github.

This is the error:

Any advice?

I’m running windows 10 with the latest updates

I’ve found the issue. Something has to be included with users. After specifying users, the error was gone.