Unable to update hireDate while updating user using Graph API

Occasional Visitor

Hi Team,

 

I am trying to update the hireDate of an employee using the Graph API. But I am getting the below error. Could someone please help me with this. This is really an urgent issue.

 

{

  "error": {

    "code": "-1, Microsoft.Office.Server.Directory.DirectoryObjectUnauthorizedAccessException",

    "message": "Attempted to perform an unauthorized operation.",

    "innerError": {

      "request-id": "fca9b5cf-6bc5-4835-a591-3fc5809a8371",

      "date": "2019-11-07T12:04:45"

    }

  }

}

 

As per me I have added all the required API permissions. We can get on a call if required to see if any more settings should be done.

 

Kindly acknowledge.

0 Replies