Azure / Azure/azure-devtestlab

windows-domain-join-new

Open
#909 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
465
Forks
595
PR merge metrics
No merged PRs in 30d

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.