"the microsoft online services directory synchronization tool must be installed on a domain joined computer running windows server 2008 or later"

Are you trying to install DirSync on a domain controller?  Think again.  Must be a member server.  Sorry to add another VM to your lab.  Yeah.  Sorry about that.