Hi robarthurs
It's my pleasure to help you today.
If you get the above error 50058 while trying to login to Microsoft applications such as Teams, Office365 or Outlook, it is mostly due to SSO or login related issue.
This means that a user is not signed in. This is a common error that's expected when a user is unauthenticated and has not yet signed in.
If this error is encountered in an SSO context where the user has previously signed in, this means that the SSO session was either not found or invalid. This error may be returned to the application if prompt=none is specified.
please run through this link for error 50058 troubleshooting:
***https://nishantrana.me/2020/07/04/solved-aadsts...
***https://code2care.org/q/microsoft-sign-in-error....
Juliet
Independent Advisor
Standard Disclaimer: There are links to non-Microsoft websites. The pages appear to be providing accurate, safe information.
Watch out for ads on the sites that may advertise products frequently classified as a PUP (Potentially Unwanted Products).
Thoroughly research any product advertised on the sites before you decide to download and install it.