"Access is Denied" error pop-up shown when the user launches an ICA session and the logon is in progress.
The problem was resolved after setting the following registry key to default value on all the Domain Controllers:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
Name: RestrictedRemoteSAM
Type: REG_SZ
Value: O:BAG:BAD:(A;;RC;;;BA)(A;;RC;;;AU)
Storefront logs the below event
Failed to get user data to determine password expiry, error: 1727 from server <domain controller name>
More information about this key is documented in the following article:
https://learn.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/network-access-restrict-clients-allowed-to-make-remote-sam-calls
Note: The value for the registry key was taken from a known working Domain controller where this policy was not applied. Customers are advised to consult with Microsoft for determining the appropriate default value for the registry key.