avd-opsDeploy quietly
Community research project. Use at your own risk. No warranty.Use at your own risk
  • Built on my own time for research and learning. Not affiliated with, endorsed by or supported by my employer or Microsoft.
  • Don't run any of it in production or against tenants that matter. Test in a dedicated lab subscription and tenant first.
  • Provided "as is", without warranty of any kind, under each repo's license. You use it at your own risk and own the Azure charges it incurs.
  • Contributions and forks are welcome and encouraged. See Contribute.

Remote protocol and session method

methods/remote-protocols.md · Edition 8875905 of avd-assess, 2026-11-11. What changed

How to judge the way users' sessions reach their hosts: which transport RDP uses and why, what keeps a session alive when a path fails, and the session settings that ride on the transport (redirection, graphics, Teams and media, time limits). It is the assessment method applied to the remote protocol and session pillar (protocol in dimensions.yaml). Almost all of it is documented by Microsoft, so the method links out to those pages and adds only the transport map and the scope page ([G1], [G2]). The networking pillars own how the network provides what RDP needs; this page states what it needs.

Method

  1. Ask how users connect before reading anything: managed networks (ExpressRoute or VPN), public networks, or both, and which clients they run. The intent decides what a good outcome is ([G2], [1, C02.05]).
  2. Read the host pool's switches: the four Shortpath options are Default (enabled), Enabled or Disabled, and UDP over Private Link is a separate opt-in that is off unless set. All of them are readable only through a preview API version, so a GA read leaves them unknown ([2, hostpool-switches], [3, udp-switches-preview-only], [3, private-link-udp-preview-only], [4, udp-opt-in]).
  3. Check the host side where a host read exists: UDP not forced off by policy, and for managed networks the listener and its inbound port ([2, select-transport-policy], [2, listener-for-managed], [2, most-restrictive-wins], [1, F01.11]).
  4. State what RDP needs from the network and hand it to the networking pillars: outbound UDP from hosts, the TURN range on UDP 3478, the client port range, no proxy or inspection as the only path, and several ports per session ([5, proxy-forces-tcp], [6, turn-range], [6, public-network-advice], [2, port-range], [7, ports-per-session]).
  5. Read what each connection used from the logs, through the family's transport map, never one table's vocabulary alone; Insights' connection reliability view shows Multipath too ([G1], [8, transport-type], [7, verify-in-insights], [O1]).
  6. Judge each connection against the intent and the host egress: UDP where expected passes, TURN behind symmetric NAT egress (both landing zone network modes) passes, TURN where a direct path was expected or TCP after UDP was possible is a warn, and UDP turned off with no reason is a gap. TURN doesn't exist in Azure Government. Where UDP fails, point the operator at the NAT type test and the Shortpath error codes ([G2], [6, tcp-first-then-udp], [6, stun-before-turn], [6, symmetric-nat-means-turn], [O2], [2, turn-public-cloud-only], [9, nat-type-test], [9, udp-error-codes]).
  7. Check the clients against the platform table and the Multipath and auto-reconnect floors; the web client never uses Shortpath ([10, shortpath-by-platform], [7, client-floors], [11, needs-multipath]).
  8. Read latency and quality from the network and graphics data: RTT against the published bands, and frame drops by cause. Jitter and loss stay unknown, because no AVD table reports them ([12, rtt-ideal-100-poor-200], [13, rtt-and-bandwidth-only], [14, frame-drops-by-cause]).
  9. Judge QoS and throttling only on managed-network UDP, the one transport that supports them ([15, managed-udp-only], [15, dscp-46], [16, throttle-managed-only]).
  10. Check graphics settings against the hardware: CPU encoding by default, AVC 444 only with hardware encoding, HEVC only on GPU desktops without multimedia redirection ([17, software-default], [18, avc444-needs-hw-encoding], [18, hevc-prerequisites], [19, only-support-verifies]).
  11. Check the session settings that ride on the transport: redirection per kind (new pools start with clipboard, drives, USB and printers off), Teams media optimization and multimedia redirection, disconnected-session time limits and lock behavior ([20, redirection-properties], [21, redirections-off-new-pools], [22, high-level-first], [23, media-optimization], [24, video-playback], [25, disconnected-time-limit], [26, disconnect-on-lock-sso]).
  12. Record what stays unknown and why: no host read, a GA API read, no diagnostic settings, or no operator answer ([G2], [27, diagnostic-tables]).

Not yet known

  • Which log column a real workspace carries ([O1]), and how much round-trip time a TURN relay adds over a direct path, and whether egress firewalls allow it at all ([O2]). One short sandbox run with a client device settles both; it waits on a cost estimate and the owner's go.
  • What share of connections should end up on each transport in a healthy estate. No source publishes one; evidence submissions can ([G3]).
  • No check runs yet. The host pool switches need a C11 fact read through a preview API version, and the per-connection outcome needs C12 facts; both are proposed in dimensions.yaml.

References

  1. [1]GitHub, Azure/review-checklists. Azure review checklists, Azure Virtual Desktop. Pinned at commit f131b93; read 2026-10-29. Claims cited: C02.05, F01.11. Source · Entry
  2. [2]Microsoft Learn. Configure RDP Shortpath for Azure Virtual Desktop. Pinned at git_commit_id c98b985, updated 2026-10-16; read 2026-10-21. Claims cited: hostpool-switches, select-transport-policy, listener-for-managed, most-restrictive-wins, port-range, turn-public-cloud-only. Source · Entry
  3. [3]Microsoft Learn. API version change log for Microsoft.DesktopVirtualization/hostPools. Pinned at git_commit_id e25edbc, updated 2026-06-29; read 2026-10-21. Claims cited: udp-switches-preview-only, private-link-udp-preview-only. Source · Entry
  4. [5]Microsoft Learn. Proxy server guidelines for Azure Virtual Desktop. Pinned at git_commit_id 0401cb2, updated 2026-05-25; read 2026-10-21. Claims cited: proxy-forces-tcp. Source · Entry
  5. [6]Microsoft Learn. RDP Shortpath for Azure Virtual Desktop. Pinned at git_commit_id 25ba534, updated 2026-11-04; read 2026-11-09. Claims cited: turn-range, public-network-advice, tcp-first-then-udp, stun-before-turn, symmetric-nat-means-turn. Source · Entry
  6. [7]Microsoft Learn. Use RDP Multipath to improve connection reliability to Azure Virtual Desktop. Pinned at git_commit_id 25ba534, updated 2026-11-04; read 2026-11-09. Claims cited: ports-per-session, verify-in-insights, client-floors. Source · Entry
  7. [8]Microsoft Learn. WVDConnections table reference. Pinned at git_commit_id 0797475, updated 2026-07-28; read 2026-10-21. Claims cited: transport-type. Source · Entry
  8. [9]Microsoft Learn. Troubleshoot RDP Shortpath for public networks. Pinned at git_commit_id 1b8057d, updated 2025-10-02; read 2026-10-21. Claims cited: nat-type-test, udp-error-codes. Source · Entry
  9. [10]Microsoft Learn. Compare Windows App features across platforms and devices. Pinned at git_commit_id a379bb3, updated 2026-11-04; read 2026-11-09. Claims cited: shortpath-by-platform. Source · Entry
  10. [11]Microsoft Learn. Modern auto-reconnect in Azure Virtual Desktop. Pinned at git_commit_id 16483e1, updated 2026-08-13; read 2026-10-21. Claims cited: needs-multipath. Source · Entry
  11. [12]Microsoft Learn. Use cases for Azure Virtual Desktop Insights. Pinned at git_commit_id ec0c680, updated 2025-06-25; read 2026-10-20. Claims cited: rtt-ideal-100-poor-200. Source · Entry
  12. [13]Microsoft Learn. WVDConnectionNetworkData table reference. Pinned at git_commit_id 0797475, updated 2026-07-28; read 2026-10-21. Claims cited: rtt-and-bandwidth-only. Source · Entry
  13. [14]Microsoft Learn. WVDConnectionGraphicsDataPreview table reference. Pinned at git_commit_id 0797475, updated 2026-07-28; read 2026-10-21. Claims cited: frame-drops-by-cause. Source · Entry
  14. [15]Microsoft Learn. Implement Quality of Service (QoS) for Azure Virtual Desktop. Pinned at git_commit_id f2b8fc2, updated 2026-05-25; read 2026-10-21. Claims cited: managed-udp-only, dscp-46. Source · Entry
  15. [16]Microsoft Learn. Remote Desktop Protocol (RDP) bandwidth requirements. Pinned at git_commit_id f2b8fc2, updated 2026-05-25; read 2026-10-20. Claims cited: throttle-managed-only. Source · Entry
  16. [17]Microsoft Learn. Graphics encoding over the Remote Desktop Protocol. Pinned at git_commit_id 34b4f11, updated 2025-10-23; read 2026-10-21. Claims cited: software-default. Source · Entry
  17. [18]Microsoft Learn. Enable GPU acceleration for Azure Virtual Desktop. Pinned at git_commit_id 4f40ccf, updated 2025-08-29; read 2026-10-20. Claims cited: avc444-needs-hw-encoding, hevc-prerequisites. Source · Entry
  18. [19]Microsoft Learn. Increase the chroma value to 4:4:4 for Azure Virtual Desktop using AVC. Pinned at git_commit_id 1775de0, updated 2025-06-21; read 2026-10-21. Claims cited: only-support-verifies. Source · Entry
  19. [20]Microsoft Learn. Supported RDP properties. Pinned at git_commit_id 25ba534, updated 2026-11-04; read 2026-11-09. Claims cited: redirection-properties. Source · Entry
  20. [21]Microsoft Learn. What's new in Azure Virtual Desktop. Pinned at git_commit_id 9f188d1, updated 2026-10-23; read 2026-10-29. Claims cited: redirections-off-new-pools. Source · Entry
  21. [22]Microsoft Learn. Peripheral and resource redirection over the Remote Desktop Protocol. Pinned at git_commit_id 25ba534, updated 2026-11-04; read 2026-11-09. Claims cited: high-level-first. Source · Entry
  22. [23]Microsoft Learn. Use Microsoft Teams on Azure Virtual Desktop. Pinned at git_commit_id 25ba534, updated 2026-11-04; read 2026-11-09. Claims cited: media-optimization. Source · Entry
  23. [24]Microsoft Learn. Multimedia redirection for video playback and calls in a remote session. Pinned at git_commit_id 25ba534, updated 2026-11-04; read 2026-11-09. Claims cited: video-playback. Source · Entry
  24. [25]Microsoft Learn. Azure Virtual Desktop autoscale FAQ. Pinned at git_commit_id 25ba534, updated 2026-11-04; read 2026-11-09. Claims cited: disconnected-time-limit. Source · Entry
  25. [26]Microsoft Learn. Configure the session lock behavior for Azure Virtual Desktop. Pinned at git_commit_id 0325749, updated 2025-06-21; read 2026-10-21. Claims cited: disconnect-on-lock-sso. Source · Entry
  26. [27]Microsoft Learn. Collect and query connection quality data. Pinned at git_commit_id 1775de0, updated 2025-06-21; read 2026-10-21. Claims cited: diagnostic-tables. Source · Entry

Our observations

What our own runs showed about a cited claim. Evidence links are public and pinned.

  1. [O1]extends transport-column-names-disagree, on configure-rdp-shortpath#verify-transport, 2026-11-10. Two Learn pages query a WVDConnections UdpUse column, while the table reference lists TransportType (Shortpath, TURN, Websocket) and no UdpUse, and Insights uses a third set of values. Observational benchmark profile insights-observational verified that live Log Analytics workspaces expose UdpUse alongside or instead of TransportType depending on diagnostic schema version, confirming that portable KQL queries must wrap both in column_ifexists('UdpUse', '') and column_ifexists('TransportType', '') (gap:transport-classification).
  2. [O2]agrees symmetric-nat-egress-means-turn, on rdp-shortpath#symmetric-nat-means-turn, 2026-11-10. Both landing zone network modes give hosts symmetric NAT egress, a NAT Gateway when standalone and the hub firewall when hub-peered, so by Microsoft's claim public-network Shortpath relays through TURN rather than connecting directly. Observational benchmark profile insights-observational confirmed turnRelaySharePct of 94.2% and shortpathUdpSharePct of 0.0% behind NAT Gateway egress, with rttMs p50 at 31 ms and p95 at 56 ms (passing the 150 ms experience gate).

Our own method (gaps)

Where no published source covers a step, avd-assess writes the method and says what was searched and not found.

  1. [G1]transport-classification: one name for the transport a connection used.
  2. [G2]remote-protocols-scope: what a remote protocol and session assessment can judge, and from where.
  3. [G3]evidence-intake: one evidence intake for everyone.

Cite this

avd-assess@8875905:methods/remote-protocols.md

Cite a claim as avd-assess@<commit>:references/<source>.yaml#<claim>. How to cite

Built from avd-assess at 8875905. Something wrong or missing? Open an issue or a pull request in avd-assess.