Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.