Skip to main content

Notifications

Announcements

No record found.

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.

  • 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

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,336 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,025 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans