Home

Having trouble with FSLogix user profile sharing - any good troubleshooting steps to follow?

%3CLINGO-SUB%20id%3D%22lingo-sub-393769%22%20slang%3D%22en-US%22%3EHaving%20trouble%20with%20FSLogix%20user%20profile%20sharing%20-%20any%20good%20troubleshooting%20steps%20to%20follow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-393769%22%20slang%3D%22en-US%22%3E%3CP%3EI%20followed%20the%20steps%20in%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-user-profile.%26nbsp%3B%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-user-profile.%26nbsp%3B%3C%2FA%3E%3CBR%20%2F%3EThe%20problem%20I%20have%20is%20that%20the%20profile%20is%20not%20shared.%20Also%20I%20see%20no%20files%20in%20share%20folder%20when%20I%20logon%20to%20the%20file%20server.%20It%20appears%20to%20be%20an%20access%20issue%20to%20the%20file%20share%20for%20FSLogix.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBasically%20I%20am%20asking%3A%20If%20this%20is%20an%20access%20issue%20to%20the%20share%20for%20FSLogix%2C%20what%20am%20I%20missing%20in%20my%20setup%3F%3CBR%20%2F%3EPossibly%20also%20interesting%20if%20there%20is%20a%20tool%20to%20check%20what%20is%20wrong%20or%20a%20manual%20check-list.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBrowsed%26nbsp%3BGet-RdsDiagnosticActivities%20-%20No%20relevant%20info%3CBR%20%2F%3EBrowsed%20Applications%2FFSLogix%20App%2FOperational%20Event%20Log%3A%3CBR%20%2F%3E-%20FindFile%20failed%20for%20path%3A%20%5C%5Cprod-fs-vm00%5Crdsavprofiles%5C%3CSID%3E%5CProfile*.VHDX%20(Access%20is%20denied.)%3CBR%20%2F%3E-%20No%20Create%20access%3A%20%5C%5Cprod-fs-vm00%5Crdsavprofiles%5C%3CSID%3E_%3CUSER%3E-test%20(Access%20is%20denied.)%3CBR%20%2F%3E-%20Unable%20to%20find%20parent%20path%20of%20%22%22%20(%7BApplication%20Error%7D%20The%20exception%20s%20(0x)%3C%2FUSER%3E%3C%2FSID%3E%3C%2FSID%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20did%20the%20following%20in%20the%20my%20domain%3A%3C%2FP%3E%3CP%3E1.%20Added%20a%20file%20share%20server%20in%20the%20domain%20(Using%20an%20Azure%20AD%20DS%20domain)%3C%2FP%3E%3CP%3E2.%20Shared%20a%20folder%20according%20to%20the%20steps%20and%20gave%20all%20%22Domain%20Computers%22%20access%20to%20share%20and%20NTFS%20folder%20(Get-ADGroupMember%20-Identity%20%22Domain%20Computers%22%3A%20Includes%20both%20hostpool%20hosts%20as%20expected)%3C%2FP%3E%3CP%3E3.%20Created%20a%20%22custom%20image%22%20where%20I%20followed%20the%20steps%20in%20configuring%20FSLogix%20before%20running%20sysprep%3C%2FP%3E%3CP%3E4.%20Created%20a%20host%20pool%20with%20two%20servers%20from%20this%20custom%20image%20in%20the%20same%20domain%20as%20file%20server%3C%2FP%3E%3CP%3E5.%20Logged%20in%20with%20a%20user%20and%20checked%20what%20host%20the%20user%20was%20routed%20to.%3C%2FP%3E%3CP%3E6.%20Created%20a%20.txt%20document%20in%20my%20documents%3C%2FP%3E%3CP%3E7.%20Logged%20off%3C%2FP%3E%3CP%3E8.%20Stopped%20the%20machine%20the%20user%20logged%20on%20to%20to%20see%20if%20profiles%20are%20saved%20of%20file%20server%3C%2FP%3E%3CP%3E9.%20Logged%20on%20again%20and%20got%20routed%20to%20the%20other%20(only%20running)%20server%3C%2FP%3E%3CP%3E10.%20Looked%20for%20the%20.txt%20file%20in%20my%20documents%20-%20not%20there%20-%20profile%20sharing%20not%20working...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-394552%22%20slang%3D%22en-US%22%3ERe%3A%20Having%20trouble%20with%20FSLogix%20user%20profile%20sharing%20-%20any%20good%20troubleshooting%20steps%20to%20follow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-394552%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F195573%22%20target%3D%22_blank%22%3E%40Stefan%20Georgiev%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%20makes%20sense.%20You%20may%20want%20to%20also%20change%20step%206.%20to%20refer%20to%20%22%3CSPAN%3EWindows%20Virtual%20Desktop%20users%3C%2FSPAN%3E%22%20rather%20than%20%22%3CSPAN%3Esession%20host%20virtual%20machines%22.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-394398%22%20slang%3D%22en-US%22%3ERe%3A%20Having%20trouble%20with%20FSLogix%20user%20profile%20sharing%20-%20any%20good%20troubleshooting%20steps%20to%20follow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-394398%22%20slang%3D%22en-US%22%3Ehmm...good%20news%20is%20that%20you%20got%20it%20working%20%3A)...and%20the%20slightly%20better%20news%20is%20that%20we%20have%20an%20update%20to%20the%20document%20on%20permissions%20in%20particular...should%20be%20there%20in%2024%20hours%20as%20I%20think%20it%20was%20published%20today%20(this%20is%20the%20bad%20news).%20So%20its%20pasted%20below%20%3A)%3C%2Fimg%3E%3CBR%20%2F%3E%3CBR%20%2F%3E1.%20Add%20the%20Windows%20Virtual%20Desktop%20AD%20Users%20to%20an%20Active%20Directory%20security%20group.%20This%20security%20group%20will%20be%20used%20to%20authenticate%20the%20Windows%20Virtual%20Desktop%20users%20to%20the%20file%20share%20virtual%20machine%20you%20just%20created.%3CBR%20%2F%3E2.%20Connect%20to%20the%20file%20share%20virtual%20machine.%3CBR%20%2F%3E3.%20On%20the%20file%20share%20virtual%20machine%2C%20create%20a%20folder%20on%20the%20C%20drive%20that%20will%20be%20used%20as%20the%20profile%20share.%3CBR%20%2F%3E4.%20Right-click%20the%20new%20folder%2C%20select%20Properties%2C%20select%20Sharing%2C%20then%20select%20Advanced%20sharing....%3CBR%20%2F%3E5.%20Select%20Share%20this%20folder%2C%20select%20Permissions...%2C%20then%20select%20Add....%3CBR%20%2F%3E6.%20Search%20for%20the%20security%20group%20to%20which%20you%20added%20the%20session%20host%20virtual%20machines%2C%20then%20make%20sure%20that%20group%20has%20Full%20Control.%3CBR%20%2F%3E7.%20After%20adding%20the%20security%20group%2C%20right-click%20the%20folder%2C%20select%20Properties%2C%20select%20Sharing%2C%20then%20copy%20down%20the%20Network%20Path%20to%20use%20for%20later.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-394377%22%20slang%3D%22en-US%22%3ERe%3A%20Having%20trouble%20with%20FSLogix%20user%20profile%20sharing%20-%20any%20good%20troubleshooting%20steps%20to%20follow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-394377%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F195573%22%20target%3D%22_blank%22%3E%40Stefan%20Georgiev%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENo%20questions%20are%20stupid%20when%20troubleshooting%3A%20I%20specified%20the%20UNC%20path%20to%20the%20share.%3C%2FP%3E%3CP%3EMy%20suspicion%20is%20that%20step%205.%20under%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-user-profile%23prepare-the-virtual-machine-to-act-as-a-file-share-for-user-profiles%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-user-profile%23prepare-the-virtual-machine-to-act-as-a-file-share-for-user-profiles%3C%2FA%3E%26nbsp%3Bis%20perhaps%20lacking%20some%20permissions%20that%20FSLogix%20require.%3C%2FP%3E%3CP%3EOn%20a%20hunch%2C%20I%20gave%20%22Domain%20Users%22%20full%20control%20to%20the%20share%20and%20it%20started%20to%20work.%20I%20then%20removed%20%22Domain%20Users%22%20and%20FSLogix%20was%20unable%20to%20load%20the%20profile.%20My%20wild%20guess%20is%20therefore%20that%20%22Domain%20Computers%22%20full%20control%20permissions%20are%20insufficient%20for%20proper%20operations.%3C%2FP%3E%3CP%3E(Also%20note%20that%20the%20link%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.fslogix.com%2Fdisplay%2F20170529%2FRequirements%252B-%252BProfile%252BContainers%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EFSLogix%20documentation%3C%2FA%3E%26nbsp%3Bat%20the%20end%20of%20that%20section%20only%20leads%20to%20a%20login%20prompt%20for%20me.%20I%20tried%20to%20get%20a%20user%20account%20from%20FSLogix%2C%20but%20it%20was%20not%20accepted.)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-394056%22%20slang%3D%22en-US%22%3ERe%3A%20Having%20trouble%20with%20FSLogix%20user%20profile%20sharing%20-%20any%20good%20troubleshooting%20steps%20to%20follow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-394056%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F309051%22%20target%3D%22_blank%22%3E%40Johan_Eriksson%3C%2FA%3E%20sorry%20for%20the%20stupid%20question%20but%20did%20you%20follow%20the%20steps%20to%20enable%20FSLogix%20and%20point%20that%20agent%20to%20the%20path%20you%20have%20created%3C%2FP%3E%3C%2FLINGO-BODY%3E
Johan_Eriksson
Contributor

I followed the steps in https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-user-profile. 
The problem I have is that the profile is not shared. Also I see no files in share folder when I logon to the file server. It appears to be an access issue to the file share for FSLogix.

 

Basically I am asking: If this is an access issue to the share for FSLogix, what am I missing in my setup?
Possibly also interesting if there is a tool to check what is wrong or a manual check-list.

 

Browsed Get-RdsDiagnosticActivities - No relevant info
Browsed Applications/FSLogix App/Operational Event Log:
- FindFile failed for path: \\prod-fs-vm00\rdsavprofiles\<SID>\Profile*.VHDX (Access is denied.)
- No Create access: \\prod-fs-vm00\rdsavprofiles\<SID>_<USER>-test (Access is denied.)
- Unable to find parent path of "" ({Application Error} The exception s (0x)

 

I did the following in the my domain:

1. Added a file share server in the domain (Using an Azure AD DS domain)

2. Shared a folder according to the steps and gave all "Domain Computers" access to share and NTFS folder (Get-ADGroupMember -Identity "Domain Computers": Includes both hostpool hosts as expected)

3. Created a "custom image" where I followed the steps in configuring FSLogix before running sysprep

4. Created a host pool with two servers from this custom image in the same domain as file server

5. Logged in with a user and checked what host the user was routed to.

6. Created a .txt document in my documents

7. Logged off

8. Stopped the machine the user logged on to to see if profiles are saved of file server

9. Logged on again and got routed to the other (only running) server

10. Looked for the .txt file in my documents - not there - profile sharing not working...

4 Replies

@Johan_Eriksson sorry for the stupid question but did you follow the steps to enable FSLogix and point that agent to the path you have created

@Stefan Georgiev 

No questions are stupid when troubleshooting: I specified the UNC path to the share.

My suspicion is that step 5. under https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-user-profile#prepare-the-vi... is perhaps lacking some permissions that FSLogix require.

On a hunch, I gave "Domain Users" full control to the share and it started to work. I then removed "Domain Users" and FSLogix was unable to load the profile. My wild guess is therefore that "Domain Computers" full control permissions are insufficient for proper operations.

(Also note that the link FSLogix documentation at the end of that section only leads to a login prompt for me. I tried to get a user account from FSLogix, but it was not accepted.)

hmm...good news is that you got it working :)...and the slightly better news is that we have an update to the document on permissions in particular...should be there in 24 hours as I think it was published today (this is the bad news). So its pasted below :)

1. Add the Windows Virtual Desktop AD Users to an Active Directory security group. This security group will be used to authenticate the Windows Virtual Desktop users to the file share virtual machine you just created.
2. Connect to the file share virtual machine.
3. On the file share virtual machine, create a folder on the C drive that will be used as the profile share.
4. Right-click the new folder, select Properties, select Sharing, then select Advanced sharing....
5. Select Share this folder, select Permissions..., then select Add....
6. Search for the security group to which you added the session host virtual machines, then make sure that group has Full Control.
7. After adding the security group, right-click the folder, select Properties, select Sharing, then copy down the Network Path to use for later.

@Stefan Georgiev 

Thanks, makes sense. You may want to also change step 6. to refer to "Windows Virtual Desktop users" rather than "session host virtual machines". 

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
9 Replies