Knife-azure plugin not working for azure RM

Hi,
I am trying to create a VM using commands provided in here https://github.com/chef/knife-azure/blob/master/docs/ARM.md .During the process,the command is creating the VM,but the RunList is getting empty and no cookbooks are getting executed even when we are passing the recipes in the Runlist.The VM is getting bootstrapped and is registered in chef server as well. I am using chefdk version -1.5.0 and knife-azure version-1.8.Does anybody has idea why the run list is getting empty and what could be the soution for this?