I provisioned event hub at a service bus namespace using ARM template.
Template: https://github.com/sjkp/Azure.ARM.EventHub/blob/master/Templates/azuredeploy.json
I observed that after provisioning it created policies at service bus level not at eventhub. When i tried to get the connection string with this "http://stackoverflow.com/questions/36299640/retrieve-service-bus-event-hub-connection-string" ARM. It din't work because the previous template created the policy at service bus. I din't find any sync between both these templates to create and get policies because one creates the policy at service bus level and another tries to retrieve policy from eventhub level.
Thanks,
Avinash
Template: https://github.com/sjkp/Azure.ARM.EventHub/blob/master/Templates/azuredeploy.json
I observed that after provisioning it created policies at service bus level not at eventhub. When i tried to get the connection string with this "http://stackoverflow.com/questions/36299640/retrieve-service-bus-event-hub-connection-string" ARM. It din't work because the previous template created the policy at service bus. I din't find any sync between both these templates to create and get policies because one creates the policy at service bus level and another tries to retrieve policy from eventhub level.
Thanks,
Avinash