FSLogix - Profile can not load

%3CLINGO-SUB%20id%3D%22lingo-sub-1209498%22%20slang%3D%22en-US%22%3ERe%3A%20FSLogix%20-%20Profile%20can%20not%20load%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1209498%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F536882%22%20target%3D%22_blank%22%3E%40Rauke7492%3C%2FA%3E%26nbsp%3B%20it%20looks%20like%20it's%20a%20permissions%20issue%20with%20the%20FSLogix%20profile%20SMB%20share.%26nbsp%3B%20can%20you%20try%20changing%20the%20profile%20location%20to%20something%20locally%20and%20see%20if%20it%20will%20create%20a%20new%20VHD%20in%20your%20new%20location%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1209714%22%20slang%3D%22de-DE%22%3ERe%3A%20FSLogix%20-%20Profile%20can%20not%20load%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1209714%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F570945%22%20target%3D%22_blank%22%3E%40benjamink9%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20%3A).%20That%20works%20without%20problems.%20How%20do%20I%20get%20permission%20on%20the%20Azure%20SMB%20share%3F%20I%20don't%20remember%20setting%20anything%20on%20the%20other%20VM.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Unbenannt.PNG%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F175187i385FD6A9E2E68FC6%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Unbenannt.PNG%22%20alt%3D%22Unnamed.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1209732%22%20slang%3D%22en-US%22%3ERe%3A%20FSLogix%20-%20Profile%20can%20not%20load%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1209732%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F536882%22%20target%3D%22_blank%22%3E%40Rauke7492%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1.%20try%20testing%20to%20see%20if%20your%20account%20has%20permissions%20to%20the%20profile%20path%20by%20navigating%20to%20your%20storage%20account's%20path%20using%20the%20UNC%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eif%20you%20don't%20%2Faren't%20able%20to%20navigate%20to%20that%20path%2C%20then%20you%20need%20to%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E2.%20navigate%20to%20the%20storage%20account%20in%20azure%20portal.%26nbsp%3B%20under%20configuration%20check%20to%20make%20sure%20%22azure%20active%20directory%20domain%20service%20(AAD%20DS)%22%20is%20set%20to%20enable%20(if%20that's%20how%20you're%20using%20it.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E3.%26nbsp%3Bnavigate%20to%20the%20storage%20account%20in%20azure%20portal.%26nbsp%3B%20under%20access%20control%20(IAM)%2C%20check%20access%20to%20your%20Azure%20AD%20user%2Fgroup.%26nbsp%3B%20make%20sure%20that%20user%20or%20group%20has%20%22Storage%20File%20Data%20SMB%20Share%20Contributor%22%20access.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1209745%22%20slang%3D%22en-US%22%3ERe%3A%20FSLogix%20-%20Profile%20can%20not%20load%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1209745%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fwindows-it-pro-blog%2Fgetting-started-with-fslogix-profile-containers-on-azure-files%2Fba-p%2F746477%22%20target%3D%22_blank%22%3Efollow%20the%20instructions%20here%3A%20%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fwindows-it-pro-blog%2Fgetting-started-with-fslogix-profile-containers-on-azure-files%2Fba-p%2F746477%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fwindows-it-pro-blog%2Fgetting-started-with-fslogix-profile-containers-on-azure-files%2Fba-p%2F746477%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1209797%22%20slang%3D%22en-US%22%3ERe%3A%20FSLogix%20-%20Profile%20can%20not%20load%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1209797%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F536882%22%20target%3D%22_blank%22%3E%40Rauke7492%3C%2FA%3E%26nbsp%3Bi%20doubt%20its%20a%20registry%20setting%20issue%3B%20looks%20like%20it's%20an%20issue%20with%20how%20the%20storage%20account%20is%20set%20up.%26nbsp%3B%20did%20you%20set%20up%20AADS%20authentication%20and%20ensure%20that%20the%20azure%20ad%20user%20has%20Storage%20File%20Data%20SMB%20Share%20Contributor%20rights%20under%20access%20control%20(IAM)%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1209916%22%20slang%3D%22de-DE%22%3ERe%3A%20FSLogix%20-%20Profile%20can%20not%20load%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1209916%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F570945%22%20target%3D%22_blank%22%3E%40benjamink9%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eas%20you%20described%20above.%20I%20am%20a%20global%20administrator%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Unbenannt.PNG%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F175217i298BFAAC3CE9BEB2%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Unbenannt.PNG%22%20alt%3D%22Unnamed.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1209925%22%20slang%3D%22en-US%22%3ERe%3A%20FSLogix%20-%20Profile%20can%20not%20load%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1209925%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F536882%22%20target%3D%22_blank%22%3E%40Rauke7492%3C%2FA%3E%26nbsp%3Bok%2C%20well%20i%20had%20the%20same%20issue%20as%20you're%20having%2C%20and%20it%20was%20fixed%20by%20me%20adding%20the%20permissions%20under%20access%20control%20(IAM)%20and%20also%20under%20configuration%20%26gt%3B%20AADDS%20enabled.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1209927%22%20slang%3D%22en-US%22%3ERe%3A%20FSLogix%20-%20Profile%20can%20not%20load%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1209927%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F536882%22%20target%3D%22_blank%22%3E%40Rauke7492%3C%2FA%3E%26nbsp%3B%20and%20i%20have%20owner%20permissions.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1209945%22%20slang%3D%22de-DE%22%3ERe%3A%20FSLogix%20-%20Profile%20can%20not%20load%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1209945%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F570945%22%20target%3D%22_blank%22%3E%40benjamink9%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'll%20give%20myself%20ownership%20tomorrow%20morning%2C%20but%20that's%20not%20for%20the%20normal%20user.%20On%20the%20first%20VM%2C%20everything%20runs%20without%20problems%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1211006%22%20slang%3D%22de-DE%22%3ERe%3A%20FSLogix%20-%20Profile%20can%20not%20load%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1211006%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F570945%22%20target%3D%22_blank%22%3E%40benjamink9%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eunfortunately%20did%20not%20work%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1211688%22%20slang%3D%22de-DE%22%3ERe%3A%20FSLogix%20-%20Profile%20can%20not%20load%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1211688%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F570945%22%20target%3D%22_blank%22%3E%40benjamink9%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20storage%20account%20is%20in%20a%20different%20Azure%20region%20than%20the%20VM.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1209792%22%20slang%3D%22de-DE%22%3ERe%3A%20FSLogix%20-%20Profile%20can%20not%20load%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1209792%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F570945%22%20target%3D%22_blank%22%3E%40benjamink9%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EComes%20down%20to%20the%20same%20thing.%20I%20get%20the%20release%20via%20the%20UNC%20path.%20%3CBR%20%2F%3EWhat%20is%20missing%20in%20the%20REG%3F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Unbenannt.PNG%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F175203i2FCE7AD51EF5DB27%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Unbenannt.PNG%22%20alt%3D%22Unnamed.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1209329%22%20slang%3D%22de-DE%22%3EFSLogix%20-%20Profile%20can%20not%20load%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1209329%22%20slang%3D%22de-DE%22%3E%3CP%3EDeleted%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1556226%22%20slang%3D%22en-US%22%3ERe%3A%20FSLogix%20-%20Profile%20can%20not%20load%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1556226%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F536882%22%20target%3D%22_blank%22%3E%40Rauke7492%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20using%20Horizon%20%22floating%22%20VDI%20pool%20and%20I%20am%20configuring%20FSLogix%20profiles%20for%20them%20to%20be%20saved%20into%20a%20share%20in%20the%20azure%20cloud%20storage%20account.%26nbsp%3B%20I%20have%20stored%20the%20Access%20key%20for%20the%20storage%20account%20via%20PS%20script%20in%20the%20template%20image.%20When%20the%20cloned%20VDIs%20are%20created%20in%20the%20%22floating%22%20pool%2C%20I%20also%20run%20a%20script%20via%20GPO%20in%20a%20%22computer%20configuration%22%20to%20store%20the%20same%20access%20key%20and%2C%20in%20addition%2C%20another%20GPO%20(%20that%20is%20linked%20to%20a%20security%20group%20that%20the%20user%20is%20a%20member%20of)%20fires%20a%20scheduled%20task%20where%20the%20mapping%20to%20a%20file%20share%20in%20that%20storage%20group%20is%20created.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20happens%3A%20I%20have%20my%20profile%20.VHDX%20file%20created%20from%20one%20of%20the%20floating%20VDIs%2C%20but%20on%20subsequent%20logins%2C%20where%20different%20VDIs%20are%20used%20(since%20it%20is%20Horizon's%20floating%20pool)%2C%20I%20am%20not%20able%20to%20attach%20to%20that%20profile%20again.%20Other%20users%20can't%20even%20create%20that%20profile%20and%20the%20error%20is%20always%20the%20same%3A%3C%2FP%3E%3CP%3E%3CSTRONG%3EFindFile%20failed%20for%20path%3A%20%5C%5Cxxxx.file.core.windows.net%5CshareXX%5Cusername_SID.VHDX%20(the%20target%20name%20is%20incorrect).%3C%2FSTRONG%3E%26nbsp%3B%20Even%20though%2C%20the%20mapped%20share%20opens%20without%20prompting%20a%20user%20for%20credentials.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20is%20going%20wrong%20in%20that%20process%3F%20Can%20Azure%20support%20chime%20in%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESlava%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1556631%22%20slang%3D%22en-US%22%3ERe%3A%20FSLogix%20-%20Profile%20can%20not%20load%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1556631%22%20slang%3D%22en-US%22%3E%3CP%3EI%20may%20have%20found%20the%20fix%2C%20finally%2C%3C%2FP%3E%3CP%3ENo%20doubt%2C%20this%20can%20help%20other%20adopters%20of%20FSLogix...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20fix%20is%20to%20enable%20the%20settings%20in%20FSLogix's%20installed%20agent%20(via%20GPO%20or%20directly%20in%20the%20registry).%3C%2FP%3E%3CP%3EIt%20is%20%3CSTRONG%3E%22Access%20network%20as%20computer%22%3C%2FSTRONG%3E%20key%20in%20%3CSTRONG%3EComputer%20Configuration%2FAdministrative%20Templates%2FFSLogix%2FProfile%20Container%2FAdvanced%2F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAfter%20I%20applied%20the%20modified%20GPO%2C%20my%20floating%20Horizon%20VDI%20happily%20attached%20itself%20to%20the%20already%20existing%20user%20profile%20.VHDX%20from%20Azure%20storage%20share%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESlava%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

deleted

13 Replies
Highlighted

@Rauke7492  it looks like it's a permissions issue with the FSLogix profile SMB share.  can you try changing the profile location to something locally and see if it will create a new VHD in your new location?

Highlighted

@benjamink9 

Thank you :). That works without problems. How do I get permission on the Azure SMB share? I don't remember setting anything on the other VM.

 

Unbenannt.PNG

Highlighted

@Rauke7492 

 

1. try testing to see if your account has permissions to the profile path by navigating to your storage account's path using the UNC

 

if you don't /aren't able to navigate to that path, then you need to:

 

2. navigate to the storage account in azure portal.  under configuration check to make sure "azure active directory domain service (AAD DS)" is set to enable (if that's how you're using it. 

 

3. navigate to the storage account in azure portal.  under access control (IAM), check access to your Azure AD user/group.  make sure that user or group has "Storage File Data SMB Share Contributor" access.

 

 

Highlighted

@benjamink9 

comes down to the same thing. I get the release via the UNC path.
What is missing in the REG?

Unbenannt.PNG

Highlighted

@Rauke7492 i doubt its a registry setting issue; looks like it's an issue with how the storage account is set up.  did you set up AADS authentication and ensure that the azure ad user has Storage File Data SMB Share Contributor rights under access control (IAM)?

Highlighted

@benjamink9 

as you described above. I am a global administrator

Unbenannt.PNG

Highlighted

@Rauke7492 ok, well i had the same issue as you're having, and it was fixed by me adding the permissions under access control (IAM) and also under configuration > AADDS enabled.

Highlighted

@Rauke7492  and i have owner permissions. 

Highlighted

@benjamink9 

I'll give myself ownership tomorrow morning, but that's not for the normal user. On the first VM, everything runs without problems

Highlighted

@benjamink9 

unfortunately did not work

Highlighted

@benjamink9 

The storage account is in a different Azure region than the VM.

Highlighted

@Rauke7492

 

We are using Horizon "floating" VDI pool and I am configuring FSLogix profiles for them to be saved into a share in the azure cloud storage account.  I have stored the Access key for the storage account via PS script in the template image. When the cloned VDIs are created in the "floating" pool, I also run a script via GPO in a "computer configuration" to store the same access key and, in addition, another GPO ( that is linked to a security group that the user is a member of) fires a scheduled task where the mapping to a file share in that storage group is created.

 

What happens: I have my profile .VHDX file created from one of the floating VDIs, but on subsequent logins, where different VDIs are used (since it is Horizon's floating pool), I am not able to attach to that profile again. Other users can't even create that profile and the error is always the same:

FindFile failed for path: \\xxxx.file.core.windows.net\shareXX\username_SID.VHDX (the target name is incorrect).  Even though, the mapped share opens without prompting a user for credentials.

 

What is going wrong in that process? Can Azure support chime in?

 

Slava

Highlighted

I may have found the fix, finally,

No doubt, this can help other adopters of FSLogix...

 

The fix is to enable the settings in FSLogix's installed agent (via GPO or directly in the registry).

It is "Access network as computer" key in Computer Configuration/Administrative Templates/FSLogix/Profile Container/Advanced/

 

After I applied the modified GPO, my floating Horizon VDI happily attached itself to the already existing user profile .VHDX from Azure storage share :)

 

Slava