Forum Discussion
Jack Huang
Nov 07, 2018Copper Contributor
Can't update other's sharepoint user profile by REST API even though I am already an administrator
I am trying to update other's user profile in our site, but I am not able to do it with "POST" REST call. Getting permission denied error. Even though I am already administrator of the site. Here...
Jayakumar Balasubramaniam
Nov 08, 2018Copper Contributor
You have enough permissions!!
Do you have issue with any specific user property or you are not able to update any of the properties of other user ?
Thanks,
Jayakumar B
Jack Huang
Nov 08, 2018Copper Contributor
Any of the properties.
If "Allow user to edit values for this property" is checked, then I can edit mine, but can't edit others (error code -2147024891, UnauthorizedAccessException, Access denied. You do not have permission to perform this action or access this resource).
If unchecked, I can't even update mine(error code 1, PropertyNotEditableException, Property Not Editable: This property can only be modified by an administrator.)
Below is the check box I mentioned in the sharepoint admin center
- Shanky1690May 25, 2019Copper ContributorDid you find a solution to this problem? I am also facing the same issue but no luck with solution