If Microsoft Office keeps asking you to sign in, you can try the following solutions to get rid of the problem. First, check whether you are using the latest version of Microsoft Office or not.
Microsoft will end support for Microsoft 365 for Windows 10 this October, so you'll need to buy a new Windows 11 PC.