-
Notifications
You must be signed in to change notification settings - Fork 602
Description
I have had issues with JsonAdDomainExtension where if the server is already joined to the server, it breaks the trust relationship with the domain.
resource virtualMachineExtensionVM1 'Microsoft.Compute/virtualMachines/extensions@2021-03-01' = {
parent: winVM1
name: 'joindomain'
#disable-next-line no-hardcoded-location
location: 'westus3'
properties: {
publisher: 'Microsoft.Compute'
type: 'JsonADDomainExtension'
typeHandlerVersion: '1.3'
autoUpgradeMinorVersion: true
settings: {
name: 'domain'
ouPath: 'OU=computers,DC=domain'
user: 'domain\username'
restart: true
options: 3
}
protectedSettings: {
Password: *********
}
}
}
It looks like windows-domain-join-new has code to avoid this in the artifact.ps1. Is that join domain extension available on Azure now? If so, how do I reference it?