Domainjoin ARM Template using ps extension

Category: azure automation


D-RMZ on Thu, 24 Dec 2015 16:04:01

I have a template that deploys a vm followed by running a script using ps extensions (not dsc) The ps script uses 3 arguments, namely $domainname[0] $username [1] and one for pwd. I defined 3 parameters in the arm template which i want to pass to the powershell script. Tried adjusting the commandtoexecute string in the template but I can't figure out how to pass the parameters.


Girish Prajwal on Sat, 26 Dec 2015 20:18:11


We are working on this and will revert to you at the earliest.

Girish Prajwal

D-RMZ on Wed, 30 Dec 2015 07:22:24

Hello Girish,

I already found the answer

New Domain Join Extension....makes things less complex