Real time service check failed
We can check the health of the real time service by using the url
https://[RetailServerHostName]/healthcheck?testname=ping
It would give a result like below
Recently we were getting issue with real time service
Error log
System.ServiceModel.FaultException: Forbidden Server stack trace: at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) (RunHealthCheckRealtimeRequest request) at Microsoft.Dynamics.Commerce.Runtime.Services.HealthCheckTransactionService.Execute(Request
This was because the retailserviceaccount user was disabled. The retail service account is used by retail services to access Dynamics 365 Finance and operations.
Please run the below script to enable the user and resume the real time services.
update userinfo set enable =1 where id = 'RetailServiceAccount'
*This post is locked for comments