diff --git a/deploy/arm/DeployAVDSessionHostReplacer.json b/deploy/arm/DeployAVDSessionHostReplacer.json index 43d17ac..fa9bbf7 100644 --- a/deploy/arm/DeployAVDSessionHostReplacer.json +++ b/deploy/arm/DeployAVDSessionHostReplacer.json @@ -1065,8 +1065,8 @@ "autoUpgradeMinorVersion": true, "settings": { "Name": "[[parameters('DomainJoinObject').DomainName]", - "OUPath": "[[parameters('DomainJoinObject').OUPath]", - "User": "[[format('{0}\\{1}', parameters('DomainJoinObject').DomainName, parameters('DomainJoinObject').UserName)]", + "OUPath": "[[parameters('DomainJoinObject').ADOUPath]", + "User": "[[format('{0}\\{1}', parameters('DomainJoinObject').DomainName, parameters('DomainJoinObject').DomainJoinUserName)]", "Restart": "true", "Options": 3 }, diff --git a/docs/CodeDeploy.md b/docs/CodeDeploy.md index 64e596c..a5af547 100644 --- a/docs/CodeDeploy.md +++ b/docs/CodeDeploy.md @@ -66,7 +66,7 @@ $TemplateParameters = @{ $paramNewAzResourceGroupDeployment = @{ Name = 'AVDSessionHostReplacer' ResourceGroupName = $ResourceGroupName - TemplateFile = 'https://raw.githubusercontent.com/Azure/AVDSessionHostReplacer/main/deploy/arm/DeployAVDSessionHostReplacer.json' + TemplateUri = 'https://raw.githubusercontent.com/Azure/AVDSessionHostReplacer/main/deploy/arm/DeployAVDSessionHostReplacer.json' # If you cloned the repo and want to deploy using the bicep file use this instead of the above line #TemplateFile = '.\deploy\bicep\DeployAVDSessionHostReplacer.bicep' TemplateParameterObject = $TemplateParameters