HI All,
We have changed Azure authentication from ACS to SAS authentication after changing Azure service is not working below is the log file
29.09.2016 13:00:45 Warning Could not map territory 'Bezirk Nord' because: System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. ---> System.ServiceModel.FaultException: ACS10002: An error occurred while processing the SOAP body. ACS50000: There was an error issuing a token. ACS50001: Relying party with identifier 'https://*****.crm4.dynamics.com/' was not found. Trace ID: 6aac3057-b3f2-40dc-8b76-b8e919d7194d Timestamp: 2016-09-29 11:00:45Z --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.ProcessReply(Message reply, SecurityProtocolCorrelationState correlationState, TimeSpan timeout) at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, 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.IdentityModel.Protocols.WSTrust.IWSTrustContract.Issue(Message message) at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst, RequestSecurityTokenResponse& rstr) at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.Issue(AuthenticationCredentials authenticationCredentials) at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.AuthenticateTokenWithACSForCrm(AuthenticationCredentials authenticationCredentials, Uri appliesTo, Uri acsEndpoint) at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.AuthenticateOnlineFederationInternal(AuthenticationCredentials authenticationCredentials) at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.Authenticate(AuthenticationCredentials authenticationCredentials) at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.Authenticate(ClientCredentials clientCredentials) at Microsoft.Xrm.Client.Services.OrganizationService.CreateUserTokenResponse(CrmConnection connection, IServiceConfiguration`1 config) at Microsoft.Xrm.Client.Services.OrganizationService.GetUserTokenResponse(CrmConnection connection, IServiceConfiguration`1 config) at Microsoft.Xrm.Client.Services.OrganizationService.ToOrganizationServiceProxy(CrmConnection connection) at Microsoft.Xrm.Client.Services.OrganizationService.ToOrganizationService(CrmConnection connection) at System.Lazy`1.CreateValue() at System.Lazy`1.LazyInitValue() at Microsoft.Xrm.Client.Services.OrganizationService.InnerOrganizationService.UsingService[TResult](Func`2 action) at ISolutions.xx.Crm.SapInterface.Workflows.SystemInterfaces.CRM.Serialization.CRMEntitySerializer.RetrieveEntityByAttribute(String entityName, String attributeName, Object attributeValue) in d:\SFC\SFCCRM\ISolutions.xx.Crm.SapInterface.Core\SystemInterfaces\CRM\Serialization\CRMEntitySerializer.cs:line 36 at ISolutions.xx.Crm.SapInterface.Workflows.SystemInterfaces.Mapping.Sap2CrmEntityMapper.GetEntityForMapping(String entityName, String identifierFieldName, Object identifierValue, Boolean createNewIfNotExist) in d:\SFC\SFCCRM\ISolutions.xx.Crm.SapInterface.Core\SystemInterfaces\Mapping\Sap2CrmEntityMapper.cs:line 139 at ISolutions.xx.Crm.SapInterface.Workflows.SystemInterfaces.Mapping.Sap2CrmEntityMapper.MapTerritory(ZIF_CRM_TER_S territory) in d:\SFC\SFCCRM\ISolutions.xx.Crm.SapInterface.Core\SystemInterfaces\Mapping\Sap2CrmEntityMapper.cs:line 716 at ISolutions.xx.Crm.SapInterface.Workflows.SystemInterfaces.Mapping.Sap2CrmEntityMapper.MapTerritories(IEnumerable`1 territories) in d:\SFC\SFCCRM\ISolutions.xx.Crm.SapInterface.Core\SystemInterfaces\Mapping\Sap2CrmEntityMapper.cs:line 936
Thanks In Advance
*This post is locked for comments