Knife-azure plugin not working for azure RM


I am trying to create a VM using commands provided in here .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?