Hi,
The error AADSTS50020 typically occurs when the user account trying to sign in does not exist in the target Microsoft Entra ID tenant or is not recognized as a valid guest account.
I recommend checking the following:
Verify that you are signing in with the correct account and tenant.
If using a guest account, ensure the user has been invited to the target tenant and has accepted the invitation.
Check whether the application is configured to allow users from external organizations.
Try signing out of all Microsoft accounts or using an InPrivate browser session to avoid cached credentials.
Review the sign-in logs in the Microsoft Entra admin center for additional details about the failure.
If the issue persists, check the error details for the User, Resource tenant ID, and Home tenant ID to identify whether the authentication request is being sent to the wrong tenant.
Best regards,
Harry P