SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 2 down vote accepted

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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