Sometimes a device will get in a 'Pending' state and lose access to the Device License, causing issues with accessing the desktop version of Outlook, Word, PowerPoint & Excel and multiple requests to login to Teams and OneDrive.
Notes for getting a device registered again are in the User Services OneNote notebook at the following link: Device Registration Issues (Web view)