Home

Unable to update hireDate while updating user using Graph API

%3CLINGO-SUB%20id%3D%22lingo-sub-991878%22%20slang%3D%22en-US%22%3EUnable%20to%20update%20hireDate%20while%20updating%20user%20using%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-991878%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Team%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20update%20the%20hireDate%20of%20an%20employee%20using%20the%20Graph%20API.%20But%20I%20am%20getting%20the%20below%20error.%20Could%20someone%20please%20help%20me%20with%20this.%20This%20is%20really%20an%20urgent%20issue.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%7B%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%20%22error%22%3A%20%7B%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%22code%22%3A%20%22-1%2C%20Microsoft.Office.Server.Directory.DirectoryObjectUnauthorizedAccessException%22%2C%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%22message%22%3A%20%22Attempted%20to%20perform%20an%20unauthorized%20operation.%22%2C%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%22innerError%22%3A%20%7B%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%22request-id%22%3A%20%22fca9b5cf-6bc5-4835-a591-3fc5809a8371%22%2C%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%22date%22%3A%20%222019-11-07T12%3A04%3A45%22%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%20%7D%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%7D%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20per%20me%20I%20have%20added%20all%20the%20required%20API%20permissions.%20We%20can%20get%20on%20a%20call%20if%20required%20to%20see%20if%20any%20more%20settings%20should%20be%20done.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EKindly%20acknowledge.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-991878%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EGraph%20API%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EhireDate%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
agaonkar
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.

Related Conversations
Extentions Synchronization
ChirmyRam in Discussions on
3 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
9 Replies