So as an update to my last post...
I had already cleared Credential Manager & cleared the TPM which resolved the issue until the laptop restarted.
The
AAD Broker Plugin fix didn't work for me sadly. Tried the following regkeys that I found during my searches into this issue but none of them worked;
HKEY_LOCAL_MACHINE\Software\Microsoft\Cryptography\Protect\Providers\df9d8cd0-1501-11d1-8c7a-00c04fc297eb ProtectionPolicy =1
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity DisableAADWAM=1
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity DisableADALatopWAMOverride=1
I tried them each individually and restarted between each one, but no joy.
I checked the HP Update Assistant and all updates from there were already applied.
I then applied the latest Windows Updates which were
KB4580364 - Cumulative update
Connexant Audio
I also did a search for optional Windows Updates and there was a HP firmware one (I didn't note the name of this update to put it on here I'm afraid)
so I decided to apply that one too because I'm convinced it's the TPM chip on these HPs that are not compatible with 2004 in my case.
After a restart, Outlook, OneDrive & all other office apps logged straight in as expected. The user needed to get onto their machine after letting
me work on it for so long, so I didn't get to test restarting again to see if I could 'break it' again! So I'm waiting to hear back from them tomorrow, but fingers crossed this has fixed it - it's certainly the best it's been since 2004 was applied.
I really hope MS admit this is a widespread issue & get to the bottom of this
one ASAP and publish a proper fix. Good luck everyone (I might be back tomorrow of course!)