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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

WS-Trust Office365 authentication deprecated

(0) ShareShare
ReportReport
Posted on by 12

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.

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

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

News and Announcements

Season of Giving Solutions is Here!

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 365 | Integration, Dataverse, and general topics

#1
iampranjal Profile Picture

iampranjal 67

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 37 Super User 2025 Season 2

#3
Pallavi Phade Profile Picture

Pallavi Phade 24

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans