Skip to main content

Notifications

Announcements

No record found.

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
    Community Member Microsoft Employee 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,419 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,492 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans