I found that CSOM API don't allow modifying user profiles properties in SharePoint 2013, but this function is still in asmx user profile service. I know that SharePoint online uses oAuth for authentication. How can I pass authentication in SharePoint Online App for asmx service? Is it even possible?

My case is SharePoint 2013 Online, not on-premise.

Thank you.

1 Answer 1


I found blog post about active authentication for SharePoint Online, it helped me.

Only one think I corrected to use it with asmx service, I didn't use client context, I used HttpWebRequest and initialized it's CookieContainer with CookieContainer of current HttpWebRequest after passing authentication with MsOnlineClaimsHelper class.

Note: It doesn't work for domain federation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.