web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Identify WS-Trust Authentication

(0) ShareShare
ReportReport
Posted on by 32

Can someone please let me know by seeing the below request if i am using WS-TRUST authentication that is going to deprecate? and how to identify?

 

POST https://login.microsoftonline.com/RST2.srf HTTP/1.1

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<s:Header>
<a:Action s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue</a:Action>
<a:MessageID>urn:uuid:8cafd7fb-604e-482b-a0f4-200fdba91ce4</a:MessageID>
<a:ReplyTo><a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address></a:ReplyTo>
<a:To s:mustUnderstand="1">https://login.microsoftonline.com/RST2.srf</a:To>
<o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<u:Timestamp u:Id="_0">
<u:Created>2020-08-10T12:16:20Z</u:Created>
<u:Expires>2020-08-10T12:21:20Z</u:Expires>
</u:Timestamp>
<o:UsernameToken u:Id="user">
<o:Username>**************************</o:Username>
<o:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">***...>
</o:UsernameToken>
</o:Security>
</s:Header>
<s:Body>
<t:RequestSecurityToken xmlns:t="http://schemas.xmlsoap.org/ws/2005/02/trust">
<wsp:AppliesTo xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
<a:EndpointReference>
<a:Address>urn:crmind:dynamics.com</a:Address>
</a:EndpointReference>
</wsp:AppliesTo>
<t:RequestType>http://schemas.xmlsoap.org/ws/2005/02/trust/Issue</t:RequestType>
</t:RequestSecurityToken>
</s:Body>
</s:Envelope>

I have the same question (0)
  • Yiming Profile Picture
    Microsoft Employee on at

    Hi,

    Effective Feb 4, 2020, the WS-Trust authentication type that is used by custom clients to connect to Common Data Service is deprecated. Please see announcement here: docs.microsoft.com/.../important-changes-coming

    For how to know if code or application is using WS-Trust, please check: docs.microsoft.com/.../authenticate-office365-deprecation

  • malik1126 Profile Picture
    32 on at

    I am not using .Net/SDK Client for the authentication. I am directly sending the above request with that body. and there is no such documentation for this. Can someone please identify the request if this is WS-TRUST Based or anything else.

    Reference for the code : https://github.com/nbuddharaju/Java2CRMCRUD/blob/master/src/java2crmpack/WsdlTokenManager.java

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 180 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 123

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans