A Microsoft file hosting and synchronization service.
Good day Aidan,
Since the issue affects both OneDrive and the Xbox app, it may be related to the Windows sign-in components.
First, please press Windows key + R, enter services.msc and make sure these services are running:
- Microsoft Account Sign-in Assistant
- Web Account Manager
- Windows Push Notifications User Service
Restart the computer and test the sign-in again. If the issue continues, create a new Windows user profile under Settings > Accounts > Other users, then check whether OneDrive and the Xbox app work there.
A new profile is especially useful for determining whether the existing Windows profile or its cached sign-in information is causing the problem.