Yesterday Dave announced that there is a new Azure VM extension that deploys the Service Map Dependency Agent. The example provided was only for PowerShell so it was natural that we need ARM template as well.
My friend Tao Yang beat me to the idea:
but I will make his life easier and provide these templates earlier.
You can grab those from my ARMTempaltes repo. Remember that this extension is still rolling to all Azure regions. I’ve managed to make it work in West Central US. If it does not work in your region wait a couple of days.