Citrix FAS configured for authentication.
Published Desktop or Published Application fails to launch with error: "Identity Assertion Logon failed. Unrecognized Federated Authentication Service"
IMPORTANT:
Looking at the CDF Trace of the VDA it reports the below error
30532,2,2021/11/04 14:04:50:90927,11292,4192,BrokerAgent.exe,0,Citrix.Authentication.IdentityAssertion,,0,,2,Information,"[S101] Identity Assertion Logon failed. Unrecognised Federated Authentication Service [id: 3]",""
30533,2,2021/11/04 14:04:50:90927,11292,4192,BrokerAgent.exe,0,Citrix.Authentication.IdentityAssertion,,0,,5,Information,"Logging Security Event: [LogLevel: 1] [S101] Identity Assertion Logon failed. Unrecognised Federated Authentication Service [id: 3]",""
Comparing the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Citrix\Authentication\UserCredentialService\Addresses on the FAS server as well as the VDA, indicated a mismatch in the list of FAS server addresses listed.
FAS server had 4 FAS server addresses mentioned however the VDA just had 2 FAS server addresses.
When you launch an app or desktop, the below process is followed.
FAS Server Addresses are stored in this registry key as shown below and are indexed.
“Address1″=”FAS server FQDN ( eg: myfasserver01.domain.local)” (REG_SZ)
“Address2″=”FAS server FQDN ( eg: myfasserver02.domain.local)” (REG_SZ)
“Address3″=”FAS server FQDN ( eg: myfasserver03.domain.local)” (REG_SZ)
“Address4″=”FAS server FQDN ( eg: myfasserver04.domain.local)” (REG_SZ)
The Indexing starts from 0
So [id: 1] = the address list index.
Since it starts from 0 hence [id: 1] would mean the 2nd FAS Server Address.
0=“Address1″=”FAS server FQDN ( eg: myfasserver01.domain.local)” (REG_SZ)
1=“Address2″=”FAS server FQDN ( eg: myfasserver02.domain.local)” (REG_SZ)
2=“Address3″=”FAS server FQDN ( eg: myfasserver03.domain.local)” (REG_SZ)
3=“Address4″=”FAS server FQDN ( eg: myfasserver04.domain.local)” (REG_SZ)
'Regarding the Index value [id: 3] reported in CDF"
So [id: 3] = the address list index. It starts from 0 hence [id: 3] would mean 4th Address.
VDA was looking for the 4th FAS server Address which did not exist in the registry on the VDA, and an unrecognised error was thrown.