WEM - Exception: Failed to determine site for agent machine

WEM - Exception: Failed to determine site for agent machine

book

Article ID: CTX473982

calendar_today

Updated On:

Description

WEM Agent does not get registered.

Agent log
4:41:56 PM Exception -> VuemAgentServiceConfigurationHelper.UpdateConfigurationSet() : Failed to determine site for agent machine.
4:41:56 PM Exception -> VuemAgentServiceConfigurationHelper.ReadRepositorySettings() : Error happened while getting global parameters. Exception: Failed to determine site for agent machine.

 

On Agent cache refresh successful

"C:\Program Files (x86)\Citrix\Workspace Environment Management Agent\AgentCacheUtility.exe" -refreshcache

 

Communication from Agent to Broker on 8286 and 8288 are fine.

On group policy following encryption are enabled.

Computer Configuration > Policies > Windows Settings > Security Settings > Local Policies > Security Options > Network security: Configure encryption types allowed for Kerberos

RC4_HMAC_MD5, AES128_HMAC_SHA1, AES256_HMAC_SHA1 are enabled in local group policy

Resolution

Unregister SPN (Norskale/BrokerService) from service account and register for the WEM Broker server using following command in elevated CMD.

Setspn -d Norskale/BrokerService <WEM service account>
setspn -C -S Norskale/BrokerService <WEM Server>

Problem Cause

Service account used for "Norskale Infrastructure Service" in WEM broker has wrong SPN.