Error code: CAA50021 when trying to login to office 365 – Microsoft 365

Sometimes, she can log in to one of the Office apps, but when attempting to open another app, it either gets stuck loading or prompts for login again with the CAA50021 code. We have tried the following steps: Removed all credentials from credential manager. Checked Azure AD to ensure nothing was blocking the client from signing in.

https://techcommunity.microsoft.com/discussions/microsoft-365/error-code-caa50021-when-trying-to-login-to-office-365/4059554