Deploying Azure VM via DevOps pipeline and ARM template — how to join to the domain?
Hello,
I am working on a DevOps pipeline that is able to deploy an Azure VM with an ARM template I’ve put together. The server is part of a workgroup when created, and I need to add a task to my pipeline that will join it to the domain. The problem is the VM is on an island — it has a NIC and an IP assigned to it making it accessible via RDP but Windows firewall is on and this prevents any Powershell task in the pipeline from being able to remotely connect to it and run a script to join it to the domain. I would think this is a common issue encountered when setting up deployments in this way — does anyone have a solution for this issue? Or does anyone have a slightly different method for deploying servers in this way and running remote scripts on them? Any help is greatly appreciated!
Hello, I am working on a DevOps pipeline that is able to deploy an Azure VM with an ARM template I’ve put together. The server is part of a workgroup when created, and I need to add a task to my pipeline that will join it to the domain. The problem is the VM is on an island — it has a NIC and an IP assigned to it making it accessible via RDP but Windows firewall is on and this prevents any Powershell task in the pipeline from being able to remotely connect to it and run a script to join it to the domain. I would think this is a common issue encountered when setting up deployments in this way — does anyone have a solution for this issue? Or does anyone have a slightly different method for deploying servers in this way and running remote scripts on them? Any help is greatly appreciated! Read More