Issue with O365 account on a machine with 2 accounts

%3CLINGO-SUB%20id%3D%22lingo-sub-326461%22%20slang%3D%22en-US%22%3EIssue%20with%20O365%20account%20on%20a%20machine%20with%202%20accounts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-326461%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20am%20having%20some%20issues%20that%20I%20think%20might%20be%20of%20my%20own%20making%2C%20with%20the%20O365%20Accounts%20associated%20with%20my%20Office%20install.%26nbsp%3B%20I%20work%20from%20home%20and%20am%20using%20my%20own%20PC%20for%20both%20work%20and%20my%20own%20stuff.%26nbsp%3B%20As%20part%20of%20my%20work%20I%20am%20allowed%20to%20install%20Office%20Pro%20Plus%20on%20up%20to%205%20devices%20and%20so%20have%20installed%20it%20on%20my%20home%20PC.%26nbsp%3B%20This%20used%20to%20work%20with%20no%20issues%20until%20I%20got%20a%20brand%20new%20PC%20in%20December%20and%20had%20to%20reinstall%20everything.%26nbsp%3B%20Now%20what%20happens%20is%20when%20I%20start%20any%20Office%20App%2C%20the%20user%20associated%20with%20the%20app%20is%20my%20personal%20Microsoft%20account.%26nbsp%3B%20I%20have%20to%20remember%20to%20press%20%22switch%20account%22%20to%20change%20to%20my%20Work%20user.%26nbsp%3B%20If%20I%20forget%20to%20do%20this%20there%20are%20a%20few%20strange%20side%20affects%3A-%3C%2FP%3E%3CP%3E1.%26nbsp%3B%20I%20do%20not%20see%20my%20work%20Onedrive%20and%20Sharepoint%20files%20in%20%22recent%22%20or%20%22latest%20files%22%20when%20I%20go%20to%20attach%20something%20in%20Outlook%22%3C%2FP%3E%3CP%3E2.%26nbsp%3B%20Last%20week%20I%20managed%20to%20lock%20a%20file%20on%20our%20sharepoint%20site%20because%20I%20had%20made%20a%20change%20whilst%20my%20personal%20microsoft%20account%20was%20editing%20the%20document.%3C%2FP%3E%3CP%3E3.%26nbsp%3B%20I%20cannot%20work%20real%20time%20collaboratively%20on%20a%20document%20with%20other%20work%20colleagues%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAt%20some%20point%20I%20think%20Windows%2010%20asked%20me%20to%20associate%20my%20work%20account%20with%20my%20personal%20one%20and%20I%20said%20%22yes%22%20which%20I%20think%20is%20part%20of%20the%20problem.%3C%2FP%3E%3CP%3EThe%20attached%20screenshot%20shows%20the%20%222%20accounts%22%20I%20can%20switch%20between.%26nbsp%3B%20Note%20that%20both%20have%20the%20same%202%20emails%20associated%20with%20them%2C%20but%20they%20are%20reversed.%26nbsp%3B%20It%20is%20the%20bottom%20one%20that%20has%20my%20personal%20email%20listed%20first%20that%20is%20always%20the%20default%20user%20when%20I%20first%20start%20an%20office%20app%20in%20the%20morning.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20my%20question%20is%20can%20I%20either%20change%20something%20so%20that%20the%20top%20account%20is%20the%20one%20that%20always%20opens%20the%20office%20apps%2C%20or%20is%20there%20something%20else%20I%20need%20to%20fix%20and%20is%20there%20potentially%20a%20different%20way%20of%20working%20I%20should%20be%20doing%20to%20make%20this%20work%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-331623%22%20slang%3D%22en-US%22%3ERe%3A%20Issue%20with%20O365%20account%20on%20a%20machine%20with%202%20accounts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-331623%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Thanks%20for%20your%20response%2C%26nbsp%3B%20I%20actually%20manged%20to%20fix%20this%20myself%20in%20a%20very%20easy%20way%20I%20should%20have%20thought%20of%20first.%26nbsp%3B%20I%20simply%20signed%20out%20of%20the%20office%20app%20with%20my%20Windows%20signed%20in%20ID%2C%20which%20left%20just%20my%20work%20ID%20listed%20in%20the%20Office%20apps%20and%20this%20has%20persisted.%26nbsp%3B%20This%20is%20fine%20for%20me%20because%20I%20almost%20exclusively%20use%20the%20O365%20apps%20on%20my%20work%20machine%20for%20work%20anyway%2C%20so%20have%20no%20need%20to%20switch%20between%20accounts.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20think%20my%20problem%20was%20as%20you%20had%20stated%26nbsp%3B%20i.e%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3EI%20have%20a%20personal%20Windows%20PC%20which%20I%20have%20had%20for%20a%20long%20time.%3C%2FLI%3E%3CLI%3EI%20installed%20a%20licened%20copy%20of%20Office%20pro%20plus%20on%20this%20machine%3C%2FLI%3E%3CLI%3EThe%20first%20time%20I%20fired%20it%20up%20it%20asked%20me%20for%20my%20work%20credentials%20to%20activate%20the%20software%3C%2FLI%3E%3CLI%3EBut%20it%20had%20already%20signed%20me%20in%20as%20a%20%22user%22%20with%20my%20Windows%20acount%20as%20well%2C%20so%20I%20had%202%20emails%20registered%20with%20the%20software%20and%20it%20always%20defaulted%20to%20my%20Windows%20Login%20account%20(with%20the%20option%20to%20%22switch%20accounts%22)%2C%20which%20caused%20these%20strange%20issues%3C%2FLI%3E%3CLI%3EAfter%20simply%20%22signing%20out%22%20from%20the%20account%20page%20of%20the%20office%20app%20from%20my%20WIndows%20account%2C%20it%20now%20starts%20up%20with%20me%20Work%20email%20as%20my%20Office%20user%20as%20this%20is%20now%20the%20ONLY%20account%20on%20my%20Office%20apps%3C%2FLI%3E%3C%2FOL%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-331618%22%20slang%3D%22en-US%22%3ERe%3A%20Issue%20with%20O365%20account%20on%20a%20machine%20with%202%20accounts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-331618%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20Mark%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20flow%20you're%20seeing%20is%20%22by%20design%22%20Office%20uses%20the%20SignedInADUser%20for%20Windows%20to%20activate%2Fauthenticate.%20When%20Office%20is%20launched%20on%20a%20clean%20machine%20we%20use%20the%20Signed%20in%20AD%20User.%20If%20you%20want%20to%20change%20this%20behavior%20you%20will%20break%20Single%20Sign%20On%20but%20you%20WILL%20be%20able%20to%20enter%20specific%20credentials.%26nbsp%3B%20Your%20Office%20apps%20will%20use%20the%20cached%20UPN%20going%20forward.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20follow%20the%20steps%20on%20my%20blog%20post%20here%20to%20clean%20u%20the%20activation%26nbsp%3B%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Fodsupport%2F2015%2F05%2F01%2Fhow-to-reset-an-office-365-install-to-the-initial-activationinstall-state%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblogs.technet.microsoft.com%2Fodsupport%2F2015%2F05%2F01%2Fhow-to-reset-an-office-365-install-to-the-initial-activationinstall-state%2F%3C%2FA%3E%3C%2FFONT%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20cleaned%20up%20crate%20the%20NoDomainUser%20registry%20key%20to%20force%20Office%20to%20prompt%20for%20sign%20in%20rather%20than%20using%20the%20AD%20User%20signed%20into%20Windows.%3C%2FP%3E%0A%3COL%20class%3D%22sbody-num_list%22%20style%3D%22box-sizing%3A%20inherit%3B%20color%3A%20%23000000%3B%20font-family%3A%20Segoe%20UI%2CSegoeUI%2C%26amp%3Bquot%3B%20helvetica%20neue%26amp%3Bquot%3B%2Chelvetica%2Carial%2Csans-serif%3B%20font-size%3A%2015px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20400%3B%20letter-spacing%3A%20normal%3B%20list-style-image%3A%20none%3B%20list-style-position%3A%20outside%3B%20list-style-type%3A%20decimal%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20padding%3A%200px%3B%20margin%3A%200px%200px%2016px%2032px%3B%22%3E%0A%3CLI%20style%3D%22box-sizing%3A%20inherit%3B%20margin-bottom%3A%208px%3B%20margin-top%3A%208px%3B%22%3EStart%20Registry%20Editor.%3C%2FLI%3E%0A%3CLI%20style%3D%22box-sizing%3A%20inherit%3B%20margin-bottom%3A%208px%3B%20margin-top%3A%208px%3B%22%3ENavigate%20to%20the%20following%20registry%20subkey%3A%3CDIV%20class%3D%22indent%22%20style%3D%22box-sizing%3A%20inherit%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%20medium%3B%20padding%3A%208px%2016px%208px%2016px%3B%22%3E%3CSPAN%20class%3D%22text-base%22%20style%3D%22box-sizing%3A%20inherit%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%20medium%3B%22%3EOffice%202016%3C%2FSPAN%3E%3CDIV%20class%3D%22indent%22%20style%3D%22box-sizing%3A%20inherit%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%20medium%3B%20padding%3A%208px%2016px%208px%2016px%3B%22%3EHKEY_CURRENT_USER%5CSoftware%5CMicrosoft%5COffice%5C16.0%5CCommon%5CIdentity%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22indent%22%20style%3D%22box-sizing%3A%20inherit%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%20medium%3B%20padding%3A%208px%2016px%208px%2016px%3B%22%3E%3CSPAN%20class%3D%22text-base%22%20style%3D%22box-sizing%3A%20inherit%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%20medium%3B%22%3EOffice%202013%3C%2FSPAN%3E%3CDIV%20class%3D%22indent%22%20style%3D%22box-sizing%3A%20inherit%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%20medium%3B%20padding%3A%208px%2016px%208px%2016px%3B%22%3EHKEY_CURRENT_USER%5CSoftware%5CMicrosoft%5COffice%5C15.0%5CCommon%5CIdentity%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FLI%3E%0A%3CLI%20style%3D%22box-sizing%3A%20inherit%3B%20margin-bottom%3A%208px%3B%20margin-top%3A%208px%3B%22%3ERight-click%20the%20entry%2C%20and%20then%20select%20%3CSTRONG%20class%3D%22uiterm%22%20style%3D%22box-sizing%3A%20inherit%3B%20font-weight%3A%20600%3B%22%3ENew%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%20style%3D%22box-sizing%3A%20inherit%3B%20margin-bottom%3A%208px%3B%20margin-top%3A%208px%3B%22%3EAdd%20a%20new%20DWORD%20value%20to%20the%20registry%20called%20%3CSPAN%20class%3D%22text-base%22%20style%3D%22box-sizing%3A%20inherit%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%20medium%3B%22%3ENoDomainUser%3C%2FSPAN%3E%2C%20and%20then%20set%20it%20to%20a%20value%20of%20%3CSPAN%20class%3D%22text-base%22%20style%3D%22box-sizing%3A%20inherit%3B%20outline-color%3A%20invert%3B%20outline-style%3A%20none%3B%20outline-width%3A%20medium%3B%22%3E1%3C%2FSPAN%3E.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20reply%20with%20any%20questions%20or%20concerns.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-326737%22%20slang%3D%22en-US%22%3ERe%3A%20Issue%20with%20O365%20account%20on%20a%20machine%20with%202%20accounts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-326737%22%20slang%3D%22en-US%22%3E%3CP%3EDo%20you%20mean%20that%20both%20the%20work%20and%20personal%20accounts%20use%20the%20same%20address%3F%20If%20so%2C%20that's%20definitely%20known%20to%20cause%20problems%20and%20in%20fact%20Microsoft%20no%20longer%20'recommends'%20such%20configurations%3A%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FAzure-Active-Directory-Identity%2FCleaning-up-the-AzureAD-and-Microsoft-account-overlap%2Fba-p%2F245105%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FAzure-Active-Directory-Identity%2FCleaning-up-the-AzureAD-and-Microsoft-account-overlap%2Fba-p%2F245105%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOther%20than%20that%20you%20can%20re-activate%20Office%20with%20the%20work%20account.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hi,

I am having some issues that I think might be of my own making, with the O365 Accounts associated with my Office install.  I work from home and am using my own PC for both work and my own stuff.  As part of my work I am allowed to install Office Pro Plus on up to 5 devices and so have installed it on my home PC.  This used to work with no issues until I got a brand new PC in December and had to reinstall everything.  Now what happens is when I start any Office App, the user associated with the app is my personal Microsoft account.  I have to remember to press "switch account" to change to my Work user.  If I forget to do this there are a few strange side affects:-

1.  I do not see my work Onedrive and Sharepoint files in "recent" or "latest files" when I go to attach something in Outlook"

2.  Last week I managed to lock a file on our sharepoint site because I had made a change whilst my personal microsoft account was editing the document.

3.  I cannot work real time collaboratively on a document with other work colleagues

 

At some point I think Windows 10 asked me to associate my work account with my personal one and I said "yes" which I think is part of the problem.

The attached screenshot shows the "2 accounts" I can switch between.  Note that both have the same 2 emails associated with them, but they are reversed.  It is the bottom one that has my personal email listed first that is always the default user when I first start an office app in the morning.

 

So my question is can I either change something so that the top account is the one that always opens the office apps, or is there something else I need to fix and is there potentially a different way of working I should be doing to make this work?

 

 

3 Replies

Do you mean that both the work and personal accounts use the same address? If so, that's definitely known to cause problems and in fact Microsoft no longer 'recommends' such configurations: https://techcommunity.microsoft.com/t5/Azure-Active-Directory-Identity/Cleaning-up-the-AzureAD-and-M...

 

Other than that you can re-activate Office with the work account.

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-i... 

 

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.

  1. Start Registry Editor.
  2. Navigate to the following registry subkey:
    Office 2016
    HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity
    Office 2013
    HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\Identity
  3. Right-click the entry, and then select New.
  4. 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.

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 

  1. I have a personal Windows PC which I have had for a long time.
  2. I installed a licened copy of Office pro plus on this machine
  3. The first time I fired it up it asked me for my work credentials to activate the software
  4. 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
  5. 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