Hello,
I have a Portal that connects with Dynamics 365, currently connection is working. Current connection string is this one:
<!--<add connectionString="ServiceUri=crm_url_intance; Username=******; Password=********; AuthType=Office365" name="Xrm" />-->
I had to setup new instance of CRM and point this portal code to this new instance, this connection string does not work with this new instance because WS-Trust Office365 authentication deprecated
When I change this connection string to different type of authentication <!--<add connectionString="Url=new_crm_instance_url;AuthType=ClientSecret;ClientId=**********;ClientSecret=*******" name="Xrm" />-->
I receive an error
System.NotSupportedException:'The authentication endpoint Kebreros was not found on the configured Secure Token Service'
We are using PortalCrmConfigurationManager to create context
var context = PortalCrmConfigurationManager.CreateServiceContext(PortalName) as XrmServiceContext
Context is created, but when we use this context to run a query
context.CreateQuery(....
I got this error
System.NotSupportedException:'The authentication endpoint Kebreros was not found on the configured Secure Token Service'
Is there anything else we need to update beside of connection string?
Thanks.