SSO: Can´t use nameID


I´ve searched a little bit around and found no solution: why isn´t it possible to pass nameid or emailaddress for sso?

E.g. is not recognized for the username field. Is there any workaround? I´m using azure / office365 saml auth.

Could solve it by my own. When setting

at the first general username mapping field at nextcloud you need to set user.userprincipalname at the company application saml mapping at azure for name and mail.