FSLogix with private endpoint for storage

Zuuber 5 Reputation points
2024-08-22T19:53:44.9066667+00:00

Hi

I have successfully setup AVD with FSLogix, Windows 11 multisession, authenticating with Microsoft Entra Domain Services, and an Azure storage account which is locked to virtual networks and specific IP, this all works fine.

But when i change the storage account to use a private endpoint it breaks, user accounts do not mount from the share when logging in, the following error message is logged >

FindFile failed for path: \10.34.8.100\profiles\S-1-5-21-3649879826-4280292034-2118764243-1154_test\Profile.vhd (The user name or password is incorrect.)*

I have updated the FSLogix reg key to use the private endpoint instead of the FQDN. I just cant think what I'm missing here. Why cant it authenticate?

thanks

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,516 questions
FSLogix
FSLogix
A set of solutions that enhance, enable, and simplify non-persistent Windows computing environments and may also be used to create more portable computing sessions when using physical devices.
488 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Neuvi Jiang 1,075 Reputation points Microsoft Vendor
    2024-08-23T08:18:02.9+00:00

    Hi Zuuber,

    Thank you for posting in the Q&A Forums.

    1. Verify storage account and private endpoint configuration

    Check network access settings for the storage account: Ensure that the private endpoint is properly configured and that the storage account is configured to allow connections only from the selected virtual network.

    Verify IP address and port: Verify that the IP address and port in the \10.34.8.100\profiles\ path point correctly to the private endpoint. Also, check to see if any firewall or Network Security Group (NSG) rules block access to that IP address and port.

    1. FSLogix Configuration

    Registry Settings: Although you have updated the registry to use the dedicated endpoint, double-check that the settings are correct. fSLogix needs to be able to resolve and connect to the specified storage location.

    Authentication method: Ensure that the authentication method used by FSLogix matches the configuration of the storage account. For example, if the storage account uses Azure AD authentication, then FSLogix needs to be configured accordingly.

    1. User accounts and permissions

    User permissions: Check that you have sufficient permissions to access the files in the storage account. In particular, those permissions pertaining to access to FSLogix configuration files (e.g. Profile.vhd).

    Kerberos authentication: If applicable, make sure that Kerberos authentication is properly configured and that all associated Service Principal Names (SPNs) are registered.

    1. Network and DNS Configuration

    DNS Resolution: Verify that the DNS settings allow resolution to the IP address of the dedicated endpoint. This includes checking for any custom DNS servers or Azure DNS zones.

    Network Routing: Use a network tracing tool such as tracert or ping to confirm that packets are routed to the private endpoint as expected.

    1. Logging and Diagnostics

    View FSLogix logs: FSLogix generates logs in the Event Viewer that may contain more detailed information about authentication failures.

    Enable more detailed logging: If the current level of logging is not sufficient to diagnose a problem, consider increasing the level of detail in the logging.

    1. Other Considerations

    Virtual network peering: If you have multiple virtual networks in your environment, ensure that they are properly peered and that network policies allow cross-network traffic.

    Time synchronization: Ensure that all involved systems and services, including Azure virtual machines and domain controllers, are accurately time synchronized. Time deviations can lead to authentication failures.

    1. Reboot and Test

    Reboot AVD session hosts: Sometimes a simple reboot can resolve connectivity issues.

    Test different user accounts: Try logging into an AVD session with a different user account to determine if the problem is related to a specific user account.

    Best regards

    NeuviJ

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.