Hi, my name is Jose, a Microsoft products user like you. I'll be glad to help you today.
In order to fix this issue, please go to Settings, Accounts then select Access work or school. Locate your account and select Disconnect. After the account is disconnected, run again any Microsoft 365 apps. While login again, please clear the Allow my organization to manage my device option and select Only this app option.
Is there anything else I can help you with?
if I assist any further let me know.