We have a pool of 4 WVD session hosts. User profile storage is on Azure SMB share. Each time a user logs on, FSLogix reports errors for three folders:
[09:59:41.946][tid:00000e30.00003370][INFO] ===== Begin Session: Logon
[09:59:42.047][tid:00000e30.00003370][INFO] ===== Begin Session: LoadProfile: WBest
[09:59:44.047][tid:00000e30.00000e34][INFO] ===== Begin Session: Volume re-attach
[09:59:44.047][tid:00000e30.00000e34][INFO] ===== End Session: Volume re-attach
[09:59:44.797][tid:00000e30.00003370][ERROR:0000001d] Mirror error: C:\Users\WBest\AppData\Roaming\Microsoft\Protect -> C:\Users\local_WBest\AppData\Roaming\Microsoft\Protect (The system cannot write to the specified device.)
[09:59:44.857][tid:00000e30.00003370][ERROR:0000001d] Mirror error: C:\Users\WBest\AppData\Roaming\Microsoft\Credentials -> C:\Users\local_WBest\AppData\Roaming\Microsoft\Credentials (The system cannot write to the specified device.)
[09:59:44.907][tid:00000e30.00003370][ERROR:0000001d] Mirror error: C:\Users\WBest\AppData\Local\Microsoft\Credentials -> C:\Users\local_WBest\AppData\Local\Microsoft\Credentials (The system cannot write to the specified device.)
[09:59:45.337][tid:00000e30.00003370][INFO] ===== End Session: LoadProfile: WBest
[09:59:45.337][tid:00000e30.00003370][INFO] ===== End Session: Logon
[09:59:46.382][tid:00000e30.00003370][INFO] ===== Begin Session: StartShell
I checked manually; a text file placed in \AppData\Roaming\Microsoft\Protect does not persist across logins to WVD. If I manually mount my profile VHD after creating a text file and logging out, the text file is not present, and the timestamps on the files in Protect are very old (months). It appears that nothing is being written in either direction (log on or log off).
We have severe problems with Microsoft Office authentication; I think this may be the cause. Each time a user logs in and opens Outlook, Microsoft-Windows-AAD/Operational event logs begin to fill up with errors about being unable to decrypt the cached token in \AppData\Local\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy\LocalState. I am guessing this relates to the above files and folders not persisting.
Any ideas what could cause this?
