Skip to content

windows-domain-join-new #909

@droz36

Description

@droz36

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions