Apr 23 2021 10:54 AM - edited Apr 23 2021 10:57 AM
The symptoms of the problem:
a) User attempts to login
b) Temp profile is created because FSLogfix could not load the profile
c) User logs off
d) Task Manager still shows a stuck process under the "logged off" user.
e) Attempting to Kill the process results in "Access Denied"
f) A Restart is the is the only way to release the hung process
g) Cleanup any leftover profiles in the \users folder
h) User is then allowed to login and saved profile to load.
FSLogix Event Logs:
1) Event ID: 26 [04/21/21 9:18:17]
FindFile failed for path: <FSLogixProfiles share>\<userID-<sid>\Profile*.VHDX (The specified network name is no longer available.)
2) Event ID: 26 [04/21/21 9:18:17]
VirtualDiskAPI::CreateFormattedDisk failed to create vhd(x): <FSLogixProfiles share>\<userID-<sid>\Profile_<userID>.VHDX (The file exists.)
3) Event ID: 25 [04/21/21 9:18:17]
Profile load: Status: 0x9 Reason: 0x0 Error: 0x0 Username: <userID> SID: <sid>
4) Event ID: 26 [04/21/21 9:18:17]
LoadProfile failed. User: <userID>. SID: <sid>. (A device attached to the system is not functioning.)
5) Event ID: 26 [04/21/21 9:18:22]
Failed to restore credentials. Unable to decrypt value from BlobDpApi attribute (The specified file could not be decrypted.)
[not sure if the last event is related]
Possible Causes:
-Idle timeout disconnect and Logoff policy
Apr 23 2021 02:28 PM
Apr 23 2021 02:34 PM
Apr 25 2021 05:55 AM
May 06 2021 10:54 PM
Oct 13 2021 08:22 PM
Oct 14 2021 02:13 AM
I have a few different instances around using both methods and get significantly less issues with the Azure files method than on a drive attached to a server, personally I think this maybe due to bandwidth limits of the VM that hosts the profiles and the bandwidth limits of Azure Files are generally a lot better and also there are less factors with this.
That being said the latest FSLogix update claims to resolve yet more of these issues and after doing the update before this one i have seen less issues still so it maybe you want to look at updating fslogix's on all AVD's first located here Microsoft/FSLogix Updates