I tried to implement it by referencing user profiles .asmx web service. So I call ModifyUserPropertyByAccountName method, but always receive "Operation Failure ---> Attempted to perform an unauthorized operation." if I try to update someone's (not mine) account. The query is executed by user, which is a member of Global Administrators. Tried to update another user profile via UI and was successful.

Any ideas on how to work it out?



I haven't tried the ASMX, but all other remote interfaces, CSOM, JSOM, and REST are not allowed to alter a user profile (with the exception of the urser PhotoURL). I suspect that you will not be successful.


| improve this answer | |
  • Thank you, Matt! I knew about client object model limitation, just thought that .asmx must be a win-win solution... – Igor Jun 5 '13 at 18:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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