I’ve answered hundreds of questions around Active Directory Federation Services (ADFS)…
This applies to ADFS 4.0 (Server 2016) and upwards.