Hello Alessandro,
If possible can you post the corrective steps, my case is same
I was able to receive the email with the link for approval and reject but whatever is my choice I get redirected in a browser page shows me this error <The AIF service has stopped and can't complete your request. Please try again when the AIF service is running. To check the AIF service, contact your system administrator.>
Event log is
The requested endpoint is not available when calling EmailService,ApplyUrlAction, Action Approve, Workflow document ID{98639CCA-6EE3-4E93-A621-65EA5C163D25}, user afa337332bf7881e882ad3d46915ca61c1ee9eb185fbcc541a2b9c6018161e53
System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at net.tcp://google-microsoft-tst:8201/DynamicsAx/Services/EmailApprovalsServices that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
Server stack trace:
at System.ServiceModel.Channels.ConnectionUpgradeHelper.DecodeFramingFault(ClientFramingDecoder decoder, IConnection connection, Uri via, String contentType, TimeoutHelper& timeoutHelper)
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.SendPreamble(IConnection connection, ArraySegment`1 preamble, TimeoutHelper& timeoutHelper)
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.DuplexConnectionPoolHelper.AcceptPooledConnection(IConnection connection, TimeoutHelper& timeoutHelper)
at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
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.Framework.RapidStart.Connector.Modules.AXMobile.Proxies.v3.SysWorkflowApprovalService.applyUrlAction(SysWorkflowApprovalServiceApplyUrlActionRequest request)
at Microsoft.Dynamics.Framework.RapidStart.Connector.Modules.AXMobile.Proxies.v3.SysWorkflowApprovalServiceClient.applyUrlAction(CallContext CallContext, String _action, Guid _workItem, String _userId, String _workflowComment)
at Microsoft.Dynamics.Framework.RapidStart.Connector.Modules.AXMobile.Business.AxEmailServiceHelper.<>c__DisplayClass1.<ApplyUrlAction>b__0()
at Microsoft.Dynamics.Framework.RapidStart.Connector.Modules.AXMobile.ServiceAction.Invoke[T,U](AxServiceActionDelegate`1 action, ClientBase`1 client)
at Microsoft.Dynamics.Framework.RapidStart.Connector.Modules.AXMobile.EmailService.ApplyUrlAction(String action, String workflowDocumentId, String userId, String workflowComment)
This could be because the AOS is not running / The server where AOS installed is down / Workflow inbound port is de-activated / Connector service is down