web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Integration Biztalk 2016 on premise and dynamics crm 2016 on premise problem

(0) ShareShare
ReportReport
Posted on by 485

Dear my friends 

i did all the config based on this link 

social.technet.microsoft.com/.../32258.biztalk-server-2013-r2-integration-with-ms-dynamics-crm-2015.aspx

it seems all the thing are right , but i can not connect from biz talk to dynamics CRM. 

i configured send port , in binding part , it seems authentication has problem . 

the error is 

The NetworkCredentials provided were unable to create a Kerberos credential, see inner exception for details. —-> S
ystem.IdentityModel.Tokens.SecurityTokenException: InitializeSecurityContent failed. Ensure the service principal name is correct. —->

i have biztalk 2016 , dynamics crm 2016 on premise without ssl - 

thanks alot

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Radu Chiribelea Profile Picture
    6,667 on at

    Hi Mahan,

    Looks like an SPN issue from the error you pasted above.

    Under which account is the CRMAppPool running? is it network service or an AD User Account?

    If it's an AD user account, i'd suggest you check the SPNs if they are properly configured

    Please check following links for helpe:

    1. crmbusiness.wordpress.com/.../crm-2011-spns-can-be-hell

    2. blogs.msdn.microsoft.com/.../configuring-service-principal-names

  • mahan sadeghi Profile Picture
    485 on at

    thanks Radu for your reply , CRMppPool is running by network service

  • mahan sadeghi Profile Picture
    485 on at

    i change the address from ip to url ,

    now the error changed

    It will be retransmitted after the retry interval specified for this Send Port. Details:"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: The message could not be processed because the action '<BtsActionMapping xmlns:xsi="www.w3.org/.../XMLSchema-instance&quot; xmlns:xsd="www.w3.org/.../XMLSchema&quot;>

     <Operation Name="Create" Action="schemas.microsoft.com/.../Create&quot; />

     <Operation Name="Retrieve" Action="schemas.microsoft.com/.../Retrieve&quot; />

     <Operation Name="Update" Action="schemas.microsoft.com/.../Update&quot; />

     <Operation Name="Delete" Action="schemas.microsoft.com/.../Delete&quot; />

     <Operation Name="Execute" Action="schemas.microsoft.com/.../Execute&quot; />

     <Operation Name="Associate" Action="schemas.microsoft.com/.../Associate&quot; />

     <Operation Name="Disassociate" Action="schemas.microsoft.com/.../Disassociate&quot; />

     <...' is invalid or unrecognized.

      --- End of inner exception stack trace ---

    Server stack trace:

      at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)

      at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)

      at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)

      at System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result)

    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 System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult result)

  • mahan sadeghi Profile Picture
    485 on at

    i think the problem is on authentication mode and authentication schema

    i select kerbrose for authentication mode

    and basic for authentication schema

  • mahan sadeghi Profile Picture
    485 on at

    this is my last error

    The adapter failed to transmit message going to send port "WcfSendPort_OrganizationService_CustomBinding_IOrganizationService" with URL "192.168.123.69/.../Organization.svc&quot;. It will be retransmitted after the retry interval specified for this Send Port. Details:"System.ServiceModel.Security.SecurityNegotiationException: The caller was not authenticated by the service. ---> System.ServiceModel.FaultException: The request for security token could not be satisfied because authentication failed.

      at System.ServiceModel.Security.SecurityUtils.ThrowIfNegotiationFault(Message message, EndpointAddress target)

      at System.ServiceModel.Security.SspiNegotiationTokenProvider.GetNextOutgoingMessageBody(Message incomingMessage, SspiNegotiationTokenProviderState sspiState)

      --- End of inner exception stack trace ---

    Server stack trace:

      at System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan timeout)

      at System.ServiceModel.Security.SspiNegotiationTokenProvider.OnOpen(TimeSpan timeout)

      at System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout)

      at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

      at System.ServiceModel.Security.CommunicationObjectSecurityTokenProvider.Open(TimeSpan timeout)

      at System.ServiceModel.Security.SymmetricSecurityProtocol.OnOpen(TimeSpan timeout)

      at System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout)

      at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

      at System.ServiceModel.Channels.SecurityChannelFactory`1.ClientSecurityChannel`1.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.CommunicationObject.Open()

    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 System.ServiceModel.ICommunicationObject.Open()

      at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.GetChannel[TChannel](IBaseMessage bizTalkMessage, ChannelFactory`1& cachedFactory)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans