Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2021 Release Wave 2Discover the latest updates and new features releasing from October 2021 through March 2022.
2021 release wave 2 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
we have 2 servers in production. on one server we are getting the below error. got the below from server logs
The authentication endpoint Username was not found on the configured Secure Token Service!at Microsoft.Xrm.Sdk.Client.IssuerEndpointDictionary.GetIssuerEndpoint(TokenServiceCredentialType credentialType) at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.AuthenticateInternal(AuthenticationCredentials authenticationCredentials) at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1.AuthenticateFederationInternal(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.Sdk.Client.ServiceProxy`1.AuthenticateCore() at Microsoft.Xrm.Sdk.Client.ServiceProxy`1.ValidateAuthentication() at Microsoft.Xrm.Sdk.Client.ServiceContextInitializer`1.Initialize(ServiceProxy`1 proxy) at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.RetrieveCore(String entityName, Guid id, ColumnSet columnSet)
tried app pool reset and restful service reset in IIS and worked fine. But it is happening more often some times every 2 weeks and times once in a week.
Please let me know what could be the cause.
I have seen this error before and one of reason for above error is when the /adfs/services/trust/13/username endpoint is enabled, web/client will be unable to reach the usernamemixed and kerberosmixed endpoints, which causes authentication to fail. So, you can check if username endpoint is enabled and if yes, then you can disable the /adfs/services/trust/13/username endpoint and restart the ADFS service. To perform this action, please see the below steps:
1.Open the AD FS Management Console
2.In the left navigation pane, expand Service, and then click Endpoints.
3.In the endpoint list, locate and right-click the /adfs/services/trust/13/username endpoint
5.Restart the AD FS service.
Another reason could be TLS setting, Can you share the CRM and ADFS version you are using ?
CRM 2015 (version 22.214.171.124).
The ADFS is not on the server where CRM installed
Thanks for sharing version. Can you share the ADFS or Windows Server version where ADFS is installed ? Have you tried the steps about disabling the endpoint ?
Hi Satish, Thanks for responding on this issue.
The issue is intermittent only on one server, the other server is fine.
ADFS side there is no issue.
Do you know any other areas where i have to check to find the cause of the problem?
Thanks for sharing details. Can you check if the server which is having problem is on same update rollup as compared with working one. You can also open a ticket to investigate it further as we might need to look into your deployment to gather more details.
both the servers are matching. i am not sure will this give you any clue.
the same issue happened in test server at the same time happened in prod server
we have 2 test(e.g 1, 2) and 2 pod(e.g 1, 2) servers.
issue only in 2nd TEST and 2nd PROD servers.
This is resolved.
one of the certificate is missing in the server having issue. installed the missing the server and it's working now.
I'm glad to hear it that issue is resolved. Thanks for sharing and updating the thread.
I'm glad to hear it that you were able to resolve the issue. Thanks for sharing and updating the thread.
Business Applications communities