Custom error messages per SaaS App and tenant-wide also
It would be really awesome, if Microsoft would provide developers with an option to provide custom error messages per Azure AD SaaS Apps and Global Admin to define some tenant-wide custom error messages as well. The error messages provided from Microsoft is not especially user-friendly or customer specific yet. This creates some confusions among internal and B2B users.
I hope this would be taken into considerations like the Azure Conditional Access custom error messages.
/Peter Selch Dahl
Also see these related request:
Fix Error AADSTS50020 when logged in user doesn't have permissions to selected Application:
Allow for customized error messages in Azure AD Conditional Access policies:
We don’t plan to provide the capability to customize the error message for now. But, we have been working on making the error messages more actionable.
If you have any suggestions for improving an specific error message. Please create another post and the team will improve it.
Please consider simply adding a "logout" link to this screen, as that allows the user to solve the problem (instead of being stuck as is the current experience)
Güttinger Urs commented
This and some other behaviors of Microsoft Login makes it somehow unusable for professional applications. Here we need a more meaningful message for the user and a customizable link like a "Back to companys XYZ Login Page"
I am getting the same error, any solutions?
Well 1 year later you are still working on it? FFS
Lindsay Matthews commented
AADSTS50020: User account @@@@@@@' from identity provider 'live.com' does not exist in tenant 'Microsoft' and cannot access the application 'e103a454-0c0d-4adc-9aa3-db54ad0235c0'(UHRS PROD) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.
I keep getting this message and have yet to find a solution. Can someone please walk me through the fix?
George Morris commented