With the on-premise instance of SharePoint, I am able to call the GetUserProfileByIndex from the User Profile Service to iterate over user profiles. However, with SharePoint online 2013, I get the following error when following the NextValue link: This operation requires you to be managing your own data or have administrator privileges. Now that could mean two things :

  • My account is not properly configured for that. That seems unlikely since I use the credentials of a global admin and can access all user profiles with GetUserProfileByName.
  • Since the SharePoint Online instance is shared, this approach is simply broken because I would need permission on the whole instance, including other tenants.

Is there a way of granting permissions to my account or an alternative to the User Profile Service for listing all user profiles ?

  • Which API are you using and which hosting method is being used?
    – Stephen
    Commented Mar 18, 2013 at 15:19
  • @Stephen: I'm using the [msdn.microsoft.com/en-us/library/ms583891.aspx](user profile SOAP service). My instance of SharePoint is hosted with Office 365, if this is what you mean.
    – smngnr
    Commented Mar 18, 2013 at 15:29
  • Yip that gives me a better idea...
    – Stephen
    Commented Mar 18, 2013 at 15:32
  • What exactly are you doing? Are you trying to get user profile properties for the current user? You say below you don't know the username in advance, how/when are you getting it?
    – wjervis
    Commented Jul 2, 2014 at 11:26

1 Answer 1


I've done something similar but not using Webservices but using JS CSOM, not sure is this is an option for you but I found this useful.

harePoint 2013: Working with User Profiles & JavaScript CSOM

Hope this helps


  • Thanks, but I do not know the usernames in advance and I am limited to the soap services for technical reasons. I guess I'll just retrieve the users on a per site basis with GetUserCollectionFromSite, then retrieve their profiles by username.
    – smngnr
    Commented Mar 22, 2013 at 17:08

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.