Hi,
I have the GP Web client installed with Multi tenant configuration. I've added our AD users group to the WebClient users list during the Web Components installation and also added the same group under the Tenant Users list as well and it's "Active". Now, if an user part of that AD group try to access GP web client, it throws an error saying "You are not allowed to use Microsoft Dynamics GP". But, if I add the user directly to Tenant Users list, it just works fine. I'm not sure if it is a bug or limitation or am I missing any step to add the AD Users group to the Tenant Users list.
Any help would be greatly appreciated.
Web Management Console >> Exceptions:
Access Denied: this user is not authorized to access the service
Event Viewer Log:
User Name: ****
Correlation ID: 89b84b3e-2241-44e7-8065-064998a4cbaf
System.Web.HttpException (0x80004005): The user is not assigned to any tenants. ---> System.ServiceModel.FaultException: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.
System.ServiceModel.FaultException: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
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.MultitenantServices.ServicesInterface.ITenantDiscoveryService.GetActiveTenantList(String identity, Boolean returnActiveOnly)
at Microsoft.Dynamics.GP.Web.Services.Session.TenantServiceHandler.GetTenantList(String identity, Boolean onlyActive)
at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCentralService.GetTenantList(String identity, Boolean onlyActive)
Version : GP 2015 R2
Thanks,
Jothikrishnan
*This post is locked for comments