Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
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 422

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 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 link 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 this link  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?

283426.png

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,403 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans