SharePoint Web服务停止使用端点https://login.microsoftonline.com/extSTS.srf [英] SharePoint web service stopped working with end point https://login.microsoftonline.com/extSTS.srf
问题描述
我使用基于声明的身份验证调用SharePoint Web服务。终点是
https://login.microsoftonline.com/extSTS.srf并使用Post Method。
这突然停止了工作,我不断得到以下错误作为回应。
< psf:internalerror>
&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; < PSF:代码> 0x80048821< / PSF:代码>
&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; < psf:text> AADSTS70002:验证凭据时出错。 AADSTS50126:无效用户名或密码< / PSF:文本>
&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP;&NBSP; < / psf:internalerror>
请求类似于
<?xml version = " 1.0" encoding =" UTF-8"?>
< 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">
&NBSP; < s:Header>
< a:行动s:mustUnderstand =" 1"> http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue< / a:行动>
&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; < a:回复>&
< a:地址> http://www.w3.org/2005/08/addressing/anonymous< / a:地址>
< / a:ReplyTo>
< a:至s:mustUnderstand =" 1"> https://login.microsoftonline.com/extSTS.srf< / a:To>
&NBSP; < o:安全xmlns:o =" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" s:mustUnderstand =" 1">
< o:UsernameToken>
< o:用户名>用户名< / o:用户名>
< o:密码>密码< / o:密码>
< / o:UsernameToken>
< / o:安全>
< / s:标题>
< s:正文>
< t:RequestSecurityToken xmlns:t =" http://schemas.xmlsoap.org/ws/2005/02/trust">
  ;&NBSP;&NBSP; < wsp:AppliesTo xmlns:wsp =" http://schemas.xmlsoap.org/ws/2004/09/policy">
  ;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; < a:EndpointReference>
<一个:地址>的https://instance.sharepoint.com< / A:地址>
&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ; < / a:EndpointReference>
< / wsp:AppliesTo>
< t:KeyType> http://schemas.xmlsoap.org/ws/2005/05/identity/NoProofKey< / t:KeyType>
  ;&NBSP;&NBSP; < t:RequestType> http://schemas.xmlsoap.org/ws/2005/02/trust/Issue< / t:RequestType>
  ;&NBSP;&NBSP; < t:TokenType> urn:oasis:names:tc:SAML:1.0:assertion< / t:TokenType>
< / t:RequestSecurityToken>
< / s:正文>
< / s:信封>
最近对索赔做出的任何更改基于身份验证,如果不再支持,可以选择什么?请帮助!!!!!!
您好
该消息告诉您&NBSP;的用户名或密码无效。
请如果用户密码过期或最近被改变检查跨度>
Hi,
I was calling SharePoint web service using claim based authentication. End Point is https://login.microsoftonline.com/extSTS.srf and using Post Method.
This suddenly stopped working and i am constantly getting following error in response.
<psf:internalerror>
<psf:code>0x80048821</psf:code>
<psf:text>AADSTS70002: Error validating credentials. AADSTS50126: Invalid username or password</psf:text>
</psf:internalerror>
Request is something like
<?xml version="1.0" encoding="UTF-8"?>
<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:ReplyTo>
<a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>
</a:ReplyTo>
<a:To s:mustUnderstand="1">https://login.microsoftonline.com/extSTS.srf</a:To>
<o:Security xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" s:mustUnderstand="1">
<o:UsernameToken>
<o:Username>username</o:Username>
<o:Password>password</o:Password>
</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>https://instance.sharepoint.com</a:Address>
</a:EndpointReference>
</wsp:AppliesTo>
<t:KeyType>http://schemas.xmlsoap.org/ws/2005/05/identity/NoProofKey</t:KeyType>
<t:RequestType>http://schemas.xmlsoap.org/ws/2005/02/trust/Issue</t:RequestType>
<t:TokenType>urn:oasis:names:tc:SAML:1.0:assertion</t:TokenType>
</t:RequestSecurityToken>
</s:Body>
</s:Envelope>
Any change recently done with claim based authentication and what can be alternative if this is no longer supported ? Please help !!!!!!
Hi
The message tells you Invalid username or password.
Please check if the user password expires or being changed recently.
这篇关于SharePoint Web服务停止使用端点https://login.microsoftonline.com/extSTS.srf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!