I am getting the following error after installing the Commerce scale unit.
The event viewer is showing following errors:
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
GetFeatureList API call failed. Correlation ID: 49d57c43-1bce-4a23-9aad-61c26d116658. Exception: 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)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Dynamics.Retail.TransactionServices.ClientProxy.RetailRealTimeServiceContract.GetFeatureList(GetFeatureList request)
at Microsoft.Dynamics.Retail.Cdx.RealtimeServiceClientLibrary.RealtimeServiceClient.GetFeatureList(FeatureListRequestInfo requestInfo).
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Failed executing DB maintenance agent. Context: CorrelationId=9eabf1fe-245d-4eb9-9af8-e13ccf6cda12. Execution time: 28 ms. Error Details: 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)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at Microsoft.Dynamics.Retail.Cdx.RealtimeServiceClientLibrary.RealtimeServiceClient.GetFeatureList(FeatureListRequestInfo requestInfo)
at Microsoft.Dynamics.Retail.Cdx.AsyncClient.ClientLibrary.DBMaintenanceAgent.Initialize()
at Microsoft.Dynamics.Retail.Cdx.AsyncClient.ClientLibrary.DBMaintenanceAgent.Execute()
DB check is successful in ping request and RetailServiceAccount is mapped against the client id in Azure active directory applications in Headquarter.
Can you click on the link next to Retail Server to make sure that DB Check is successful.
Since it is giving error related to RTS, just make sure that the Azure APP Client ID used during the installation is listed in the Azure Active directory application screen in D365 HQ and a retail service account/any user with required access is mapped against it.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156