Microsoft 365 issues causing 'Something Went Wrong [1001]'

Microsoft 365 issues causing 'Something Went Wrong [1001]' sign-in errors and rendering desktop applications unusable for many customers.
While the Microsoft 365 desktop app authentication errors were linked to user profile management issues and to security software blocking Web Account Manager (WAM) plug-ins from running, the company is still investigating the login problems and analyzing logs from affected users to identify any other potential root causes.
REBOOT and try again.
Run the commands below in user mode PowerShell to repair Web Account Manager (WAM)
Add-AppxPackage -Register "$env:windir\SystemApps\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy\Appxmanifest.xml" -DisableDevelopmentMode -ForceApplicationShutdown
Add-AppxPackage -Register "$env:windir\SystemApps\Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy\Appxmanifest.xml" -DisableDevelopmentMode -ForceApplicationShutdown

*We are not responsible for any undesirable outcomes from running this on your computer. By choosing to run this you assume full responsibility for any results.