Mautic & Microsoft Dynamics Integration Error

I have setup integration with Microsoft Dynamics. I am getting an error message when trying to push leads from Mautic - Dynamics.

[2018-09-17 11:01:43] mautic.WARNING: PHP Warning - Invalid argument supplied for foreach() - in file /home/markathon/ - at line 1855

  1. Does the integration require a cron job.

This is the one I have currently setup

php /home/markathon/ mautic:integration:pushleadactivity -integration=Dynamics