Jsonaddomainextension Domain Join Options
Netsetup acct create 0x00000002 creates the account on the domain.
Jsonaddomainextension domain join options. Default value of 3 is a combination of netsetup join domain 0x00000001 netsetup acct create 0x00000002 i e. Will join the domain and create the account on the domain. The vm can be managed or signed into using domain accounts. When working with azure resource manager arm you have the option to leverage the addomainextension in order to get your vm to join the domain.
In part two i talked about arm template and jsonaddomainextension details in this part we are doing a deployment for domain join a summary and pointing out some flaws. There are various options to do so where igor has made a nice blog post in the beginning of the year to outline these. Ou path key vault that is enabled for arm. When finished the windows vm is created and joined to the managed domain.
So now we have everything in place. The machine creation has no. If this value is not specified joins the computer to a workgroup. Name of the active directory domain to join user administrator account name to authenticate restart specifies if the vm should restart after domain join.
Join an existing windows server vm to a managed. True or false options domain join options. Default option is 3 refer to netjoin options on. Cmdlet s set azurermvmextension powershell version 5 1 14393 953 module version os version 10 0 14393 953 description i have an vnet with a dc server and i m creating new vm that i want to join to the domain.