Getting below error while activating Cloud POS in D365.
Event Viewer log:
The description for Event ID 5075 from source Microsoft-Dynamics-Commerce-RetailServer cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
Authentication failed
Microsoft.Dynamics.Commerce.Runtime.UserAuthenticationException: The audience validation failed.
at Microsoft.Dynamics.Retail.RetailServerLibrary.Authentication.JwtTokenValidator.ValidateAudiences(IEnumerable`1 receivedAudiences, JwtSecurityToken token)
at Microsoft.Dynamics.Retail.RetailServerLibrary.Middlewares.Exceptions.ExceptionHelper.ValidateAudiencesAndCaptureException(Action`2 validateAudiences, IEnumerable`1 audiences, JwtSecurityToken token)
at System.IdentityModel.Tokens.JwtSecurityTokenHandler.ValidateToken(String securityToken, TokenValidationParameters validationParameters, SecurityToken& validatedToken)
at Microsoft.Owin.Security.Jwt.JwtFormat.Unprotect(String protectedText)
at Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationHandler.<AuthenticateCoreAsync>d__0.MoveNext()
Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationMiddleware
0
The publisher has been disabled and its resource is not available. This usually occurs when the publisher is in the process of being uninstalled or upgraded