Nextcloud Azure SSo not found

we have Nextcloud 25.0.4 version with MS AD to load users from ldap, and now try connect to Azure to SSO function but not found and we have the error

The account has not been provisioned so access to this service is not possible

From server i’ve the next error at the time of web login:

{"reqId":"ZUqqoYJyA8IjwORiu5@9QAAAAA0","level":3,"time":"2023-11-07T21:22:41+00:00","remoteAddr":"10.94.X.X","user":"--","app":"PHP","method":"POST","url":"/index.php/apps/user_saml/saml/acs","message":"openssl_x509_read(): supplied parameter cannot be coerced into an X509 certificate! at /var/www/html/nextcloud/apps/user_saml/3rdparty/vendor/robrichards/xmlseclibs/src/

Any help?


I personally don’T use that mechanism, but this might lead you into the right direction: