Forum Discussion
Issue with O365 account on a machine with 2 accounts
Hey Mark,
The flow you're seeing is "by design" Office uses the SignedInADUser for Windows to activate/authenticate. When Office is launched on a clean machine we use the Signed in AD User. If you want to change this behavior you will break Single Sign On but you WILL be able to enter specific credentials. Your Office apps will use the cached UPN going forward.
Please follow the steps on my blog post here to clean u the activation https://blogs.technet.microsoft.com/odsupport/2015/05/01/how-to-reset-an-office-365-install-to-the-initial-activationinstall-state/
Once cleaned up crate the NoDomainUser registry key to force Office to prompt for sign in rather than using the AD User signed into Windows.
- Start Registry Editor.
- Navigate to the following registry subkey:
Office 2016HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\IdentityOffice 2013HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\Identity
- Right-click the entry, and then select New.
- Add a new DWORD value to the registry called NoDomainUser, and then set it to a value of 1.
Please reply with any questions or concerns.
- Mark MooreFeb 06, 2019Iron Contributor
Hi Thanks for your response, I actually manged to fix this myself in a very easy way I should have thought of first. I simply signed out of the office app with my Windows signed in ID, which left just my work ID listed in the Office apps and this has persisted. This is fine for me because I almost exclusively use the O365 apps on my work machine for work anyway, so have no need to switch between accounts.
I think my problem was as you had stated i.e
- I have a personal Windows PC which I have had for a long time.
- I installed a licened copy of Office pro plus on this machine
- The first time I fired it up it asked me for my work credentials to activate the software
- But it had already signed me in as a "user" with my Windows acount as well, so I had 2 emails registered with the software and it always defaulted to my Windows Login account (with the option to "switch accounts"), which caused these strange issues
- After simply "signing out" from the account page of the office app from my WIndows account, it now starts up with me Work email as my Office user as this is now the ONLY account on my Office apps