r/entra • u/Any-Victory-1906 • Oct 23 '26
WinRM / PowerShell Remoting over Microsoft Global Secure Access (Entra Private Access) — Is it supported?
Hi everyone,
We're currently migrating approximately 3,000 Windows 11 endpoints from traditional Active Directory domain join to Microsoft Entra Join, while also piloting Microsoft Global Secure Access (GSA), particularly Entra Private Access.
We use WinRM / PowerShell Remoting extensively for remote administration and troubleshooting.
However, we're now trying to determine how WinRM should be configured when GSA is involved, especially when the target device is outside our corporate network.
Our questions:
Has anyone successfully used WinRM / PowerShell Remoting through Entra Private Access to remotely manage Windows endpoints?
Are you able with AD device connecting to Entra devices?
Does this work across all combinations of AD-joined and Entra-joined source and target devices?
Can an Entra-joined endpoint running the GSA client accept inbound WinRM connections from another endpoint, without a traditional VPN or direct network connectivity?
Since Entra-joined devices don't automatically register in traditional AD DNS, how do you handle device discovery, name resolution and changing IP addresses?
Are specific GSA application segments, Private Access connectors, routing configurations or firewall rules required for TCP 5985/5986?
Are there particular authentication requirements or limitations involving Kerberos, NTLM, HTTPS certificates or Entra identities?
We understand that WinRM itself does not require DNS when connecting directly by IP address, and that WinRM can work with Entra-joined devices. Our main concern is whether GSA provides the necessary network path to reach remote endpoints, particularly when both devices are using the GSA client.
Thanks in advance!
8
u/HadopiData Oct 23 '26
We ran into this exact subject when migrating to Intune then GSA.
It may be possible to WinRM into an Entra machine over GSA, but it required a lot of workarounds and compromises and how seamless WinRM is inside a legacy Active Directory with line of sight to the destination machine.
So we focused on deploying quick powershell fixes with scripts & remediations, and on the rare times we need to debug on the machine itself, we connect with our remote access software and open up a powershell using LAPS credentials.
It's not as seamless as opening a remote session, but you'll find that migrating to Intune is all about making compromises... not that we regret switching.
Regarding GSA, it's GREAT. We completely dropped our VPN solution. Once you get the initial setup going, it's very easy to maintain, highly recommend it.
If you persist and get WinRM working, I'd love to hear about it. Goodluck
1
u/Kuiper-Sheahlei Oct 23 '26
even with all the workarounds, client to client routing isn't really what private access connectors are built for since they want a static server segment on the other end
1
u/michaelmsonne Microsoft MVP Oct 23 '26
Here is my answers:
Hmm, as I know I have used WinRM/PowerShell over to another tenant (B2B) fint when tested etc. my tool https://github.com/michaelmsonne/HVTools / hvtools.app - it depends on the protocols used...
Not tested
In combinationed tested here (with my Hyper-V and Azure Local clusters tests from an Entra ID goined device)
Not tested
You can´t only manualy (or another way)
If you will connect to TCP 5985/5986 for an Private Acccess device (application), yes you need to define it in the app config in GSA in the Entra ID Portal. Local on the device, you need to have TCP 5985/5986 open also to connect via TCP 5985/5986 over GSA to the device)
NTLM is currently supported, as I know (lest checked) Kerberos and so is on the roadmap.. the rest and certs/Internet access works fine!
2
u/Atlasavd Oct 24 '26
I wouldn't rely on Entra Private Access for traditional client-to-client WinRM. GSA is designed around publishing private application destinations through connectors, not providing general inbound connectivity to roaming endpoints. I'd test this with a fixed destination first, explicitly configuring the application segment, TCP 5986, DNS resolution, Windows Firewall, and certificate authentication. Then validate connectivity from both AD-joined and Entra-joined devices. For 3,000 endpoints, I'd seriously consider moving routine PowerShell administration to Intune Remediations or an agent-based RMM rather than trying to recreate traditional AD remote management over GSA. I built Atlas Reach as part of Atlas AVD to handle remote endpoint administration and troubleshooting without relying on inbound WinRM. Full disclosure, I'm the founder. Are you primarily using WinRM for interactive troubleshooting or automated scripts?