The Error Code 50058 occurs when something is wrong with your sign-in details on the Office 365 platform, especially with services like Teams, OneDrive, Outlook, etc ...
Based on our experience, resetting OneDrive can fix multiple OneDrive issues. Therefore, we suggest you perform this action and see if it works. This action disconnects all your existing sync ...