Blog Post

FSLogix Blog
2 MIN READ

FSLogix profile containers for Entra cloud only identities

Jason_Parker's avatar
Jason_Parker
Icon for Microsoft rankMicrosoft
Feb 10, 2023

Edited: April 8th, 2025

Over the past several weeks, the number of customers seeking this type of guidance has increased significantly. I am glad see that our customers continue to push the boundaries of our product and growing in their Azure based deployments of RDS, Azure Virtual Desktop, and other VDI solutions in Azure.

 

FSLogix does support non-traditional configurations for Entra only scenarios. We are working to add this to our public documentation, however due to the number of instances where I've been asked about these configurations, a blog post was more immediate.   Customers who have Azure AD cloud only identities can use FSLogix in one of two configurations. This will be the only method available until Azure Files natively support Entra only identities.

Cloud Cache using Azure Page Blob storage account(s)

First, read this article on how to secure the Storage keys.  The document is planned for an update, but the concept is sound.  Next, review the list of recommendations below, before implementing this solution.

 

NOTE:  These are recommendations for an optimal experience. 

 

  1. Do not use standard tier storage for Azure page blobs for production workloads.
  2. Ensure the Azure page blob storage account is in the same region as the virtual machine(s) for optimal performance.
  3. The Azure page blob storage account should use zone-redundant storage (ZRS) if available.  If not available, use two (2) unique Azure page blob storage accounts using local-redundant storage (LRS)
  4. Ensure the OS volume allocation size matches Azure page blob and the container (VHDx).
  5. The virtual machine(s) should have high performaning local OS disks as Cloud Cache will create a local VHD for each profile as the source while keeping the blob versions up to date. Alternatively, the virtual machine could have a high-performance temp or data disk.
  6. Typical Azure based deployments recommend 1 user per 1 vCPU. Using Cloud Cache, you should start with 1 user per 2 vCPU and closely monitor CPU and disk I/O. Continue to increase user load on the virtual machine(s) to find the right mix for your workload.
  7. Do not use the CcdMaxCacheSizeInMBs setting.
  8. Do not use ProfileType 1, 2, or 3.
  9. Read all the Cloud Cache configuration settings on our public documentation page.

 

$fslBlob1ConnectString = (Get-AzStorageAccount -ResourceGroupName CONTOSO -Name fslstgacct001premblob).Context.ConnectionString

$fslBlob2ConnectString = (Get-AzStorageAccount -ResourceGroupName CONTOSO -Name fslstgacct002premblob).Context.ConnectionString

& "C:\Program Files\FSLogix\Apps\frx.exe" add-secure-key -key fslstgacct001-CS1 -value $fslBlob1ConnectString

& "C:\Program Files\FSLogix\Apps\frx.exe" add-secure-key -key fslstgacct002-CS1 -value $fslBlob2ConnectString

New-ItemProperty -Path HKLM:\SOFTWARE\FSLogix\Profiles\ -Name CCDLocations -PropertyType multistring -Value ('type=azure,name="AZURE PROVIDER 1",connectionString="|fslogix/fslstgacct001-CS1|";type=azure,name="AZURE PROVIDER 2",connectionString="|fslogix/fslstgacct002-CS1|"') -Force

Alternate options:

Removed previous alternate options as one had a broken link and the other no longer worked and we were unable to get the solution to work successfully.

Updated Apr 08, 2025
Version 4.0

8 Comments

  • Hi Jason. It is possible to use a mix of cloud and hybrid identities with this scenario? And only hybrid identities? Thanks. Carlos.

  • tedwan's avatar
    tedwan
    Copper Contributor

    Hi Jason, is there any progress on the cloud identity support? or the above post is still the only solutions for FSLogix when you have no on-prem AD? Thanks

    Ted

  • edwins48's avatar
    edwins48
    Copper Contributor

    Everything works fine except credential manager inside the user session.

    Fslogix saves everything but the credentials in credential manager.

    After logoff the credentials are still in credential manager and I can see them in AppData\Roaming\Microsoft\Credentials. But after reboot of the server the credential manager is empty. Also the folder AppData\Roaming\Microsoft\Credentials is empty. We use Azure Virtual Dekstop Multisession.

    Solution was already mentioned by GIS_DaveS

    reg add HKLM\Software\Policies\Microsoft\AzureADAccount /v LoadCredKeyFromProfile /t REG_DWORD /d 1

     

  • GIS_DaveS's avatar
    GIS_DaveS
    Brass Contributor

    Thanks, AzureAcademy!

    That's the exact problem we had.

    I was trying to do it within my user context like you demonstrated in the video. Oops.

    Once we ran the script from the run command blade, in the azure portal, it worked!

     

    The only other configuration we needed to do for the cloud only environment was add another registry key
    (reg add HKLM\Software\Policies\Microsoft\AzureADAccount /v LoadCredKeyFromProfile /t REG_DWORD /d 1) (Details about the key are https://learn.microsoft.com/en-us/azure/virtual-desktop/create-profile-container-azure-ad#configure-the-session-hosts) before users login otherwise their browser cookies/passwords in their AVD session are forgotten every time the host reboots. (See https://learn.microsoft.com/en-us/answers/questions/1019472/chrome-not-saving-passwords-azure-virtual-desktopforum post for more details)

     

  •  the issue is probably that you did not run the script in the SYSTEM Context.  
    to do this you can go to the VM blade to the operations section and use the run command. 
    Run the PowerShell script in there and you are done. 
    The other way would be inside windows you could use PSExec from sysinternals to elevate your command prompt. 
    let me know if that works!
     
  • GIS_DaveS's avatar
    GIS_DaveS
    Brass Contributor

    Has anyone been able to get thehttps://blog.itprocloud.de/Using-FSLogix-file-shares-with-Azure-AD-cloud-identities-in-Azure-Virtual-Desktop-AVD/ method to work?

    I saw https://www.youtube.com/watch?v=1msGQEZ_SkU Azure Academy video on the feature, but we keep getting errors when trying to connect. Both a sync'd account and cloud only account receive the same error message.

     

     

  • TonyCai's avatar
    TonyCai
    Copper Contributor

    Excited to see this being supported! Nerdio has had this capability for over 2 years using the same techniques for Azure AD join only AVD scenarios.

  • Darkangle9610's avatar
    Darkangle9610
    Copper Contributor

    I am sorry if this is the wrong forum for this but new to fslogix. What does this do "FoldersToRemove"=hex(7):00,00