Error when calling "Update User"

Brass Contributor

I am trying to update users' profiles projects and skills attributes:



with body:

{"pastProjects": ["a","b" ]} fine....


but calling:

with body:

{"pastProjects": ["a","b" ]}




"error": {
"code": "-1, Microsoft.Office.Server.Directory.DirectoryObjectUnauthorizedAccessException",
"message": "Attempted to perform an unauthorized operation.",
"innerError": {
"date": "2021-04-21T15:20:09",
"request-id": "xxx",
"client-request-id": "xxx"


I know that there is a note in the documentation that says these fields are not accessible to the application and require delegated permissions: could someone tell me if there is another way of doing this?


0 Replies