The experience here is with a problem account in the soon to be decommissioned Teams Free (Classic) App, where after adding in the MS Support App, and generating a query, and locating the Sign in to contact Support button below.
Clicking it gets the login box in the browser with the error. The above suggestion to use Azure Portal should help : https://video2.skills-academy.com/en-us/troubleshoot/azure/active-directory/error-code-aadsts50020-user-account-identity-provider-does-not-exist