Hi,
I have installed GP Web client and Service based architecture. When I try to browse service using following url https://servername:<port>/GPService/tenants(DefaultTenant)/Companies(Fabrikam,%20Inc.)/Inventory/Items
I am getting error “Authorization failed because the request did not specify a tenant context.”
I have no problem web client with same user. The domain is set up as Poweruser in GP with both SQL and Windows accounts. Any ideas how to specify tenant context
Further Error details from GP Service Logs
2015-03-17_15:44:13.629 (E) --> RequestException :: Details:[CorrelationId:[6d97b3960ae44d49b6c5845984c7eb3a], HttpCode:[403], ErrorType:[NoTenantContextSpecified], Source:[GPService], ExInfo:[Microsoft.Dynamics.GP.Svc.Foundation.ErrorHandling.RequestException: Authorization failed because the request did not specify a tenant context.
at Microsoft.Dynamics.GP.Svc.GPService.Requests.Steps.TenantInformationStep.<Invoke>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.GP.Svc.GPService.Requests.Steps.AuthenticationStep.<Invoke>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.GP.Svc.GPService.Requests.Steps.CorsStep.<Invoke>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.GP.Svc.GPService.Requests.Steps.ErrorHandlingStep.<Invoke>d__0.MoveNext()]]
*This post is locked for comments