@twilson ,
Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
I understand that you would like to know if Session Affinity would impact the Connection Draining timeout value.
Per your observation, even with Connection Draining enabled, a new request would land on the deregistering instances when Session Affinity enabled.
The only exception to this are requests bound for deregistering instances because of gateway-managed session affinity and will continue to be forwarded to the deregistering instances
I doubt this will any impact on the connection draining's timeout value. The App gateway will continue to send the traffic only till "x+10"th minute.
Nevertheless, I shall confirm this internally once again and update this thread soon.
P.S:
- In your verbatim, I see you have mentioned "shutdown" of the VMs
- Please note that App Gateway will only stop sending connections to the VM
- App gateway does not control the "shut down" the VM by itself
Cheers,
Kapil