With shibboleth SP 2, I need to configure ADFS (as IdP) in advance tab SHA-1 algorithm to work fine.
If I configure in ADFS SHA-256 hash algorithm, I get an error in ADFS event log, that SP reponses with SHA-1 algorithm.
My stack OpenSSH, Shibboleth, Debian (Stretch) is very new so it can use SHA-256 algorithm. I install all with debian's repositories with out of the box configuration.
I consulted this document and Microsoft's docs.