Can't figure out why login through RDS Gateway is so slow...
I've setup a 2019 RDS environment.
It's all VM's
Server: Connection Broker and License Server
Server: Session Host (Server 2019)
Server: Gateway (in DMZ)
Using FSLogix.
MFA plugin through Azure.
When logging in from inside network it's fast. (Not asking for MFA)
When logging in from outside through gateway, it takes 1:40 minutes before desktop is ready. (Asking for MFA)
Using a RDP file.
MFA challenge comes ~11 seconds after password is entered.
After that: "Configuring remote session" in a long time.
Occasionally the login is way faster.
(after I wrote this, the MFA challenge took 4 seconds and was 100% logged in in about 10 seconds through gateway)
I can't see where to begin troubleshooting...
Sometimes the connection is lost, asking the MFA challenge again.
Tried using "Negotiate" and "RDP Security Layer"
Tried looking Event Viewer on several servers with no luck
Sorry for the jumping in text.