Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Suggested answer

WS-Trust Office365 authentication deprecated

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,558 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,645 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans