Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Change WS-Trust security protocol to Office 365 authentication

Posted on by 378

Hello,

I got an email about "D365 Platform Modernization: Deprecate legacy authentication-WS-Trust" last week. I compared my code with the one mentioned in that email about how to determine that my code is using WS-trust, I found that I was using the OrganizationServiceProxy class,It belongs to ws-trust.

I found an article published in 2019 on the official website about how to use CrmServiceClient to connect to organizational services. Please see the screenshot. But I feel like the code provided in this screenshot also belongs to ws-trust, not Office 365

I just want to make sure that the way I connect to the organization service given in the following screenshot belongs to wstrust, and if it still belongs to ws-trust, if I want to change it based on the code in it, how do I need to change this code to change my security protocol from ws-trust to office 365?

613032.png

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans