A cloud-based identity and access management service for securing user authentication and resource access
Is the credential a guest user in the tenant? This cause this error at times. If not, I would suggest you update your application and test again.
If you see this consistently, open a support ticket to get more details on the error: https://learn.microsoft.com/entra/fundamentals/how-to-get-support
Regards,
Abiola