Outlook changes device ID after first sync
-
The first time I open Outlook after creating a new profile I can see the Device ID in my Apache logs:
x.x.x.x - xxxxx@xxxxxxxxxx [30/Dec/2021:01:23:43 +0000] "POST /Microsoft-Server-ActiveSync?Cmd=FolderSync&User=xxxxx@xxxxxxxxxx&DeviceId=EFB9B5DDB53843B5AA865100AA459178&DeviceType=WindowsOutlook15 HTTP/1.1" 200 498
However, if I close Outlook and re-open it, I see a different Device ID in my Apache logs:
x.x.x.x - xxxxx@xxxxxxxxxx [30/Dec/2021:01:30:18 +0000] "POST /Microsoft-Server-ActiveSync?Cmd=FolderSync&User=xxxxx@xxxxxxxxxx&DeviceId=E429C4ACF36A4108AFF029F8D3C503EF&DeviceType=WindowsOutlook15 HTTP/1.1" 200 13
This causes major issues since Outlook tries to resync everything but fails miserably since z-push has no data associated with the new Device ID. I found that the Device ID is stored in the Windows registry at:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\Profiles\{profile_name}\9375CFF0413111d3B88A00104B2A6676\00000002\EAS DeviceId
If I change the Device ID in the registry back to the original one, everything works from then on. Has anyone else run into this??
I am using Outlook Version 2111 Build 16.0.14701.20254