Microsoft Graph API is yet to provide full support for dealing with Organizational Contacts under Office 365.
The beta version of the Microsoft Graph API supports some limited edit/update operations,
as per the following page in the reference documentation:
https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/api/orgcontact_update
But using the same to update the surname (it is in the list of supported fields) field for a test orgContact, we are getting the following error in the JSON response in Microsoft Graph Explorer:
Unable to update the specified properties for objects that have originated within an external service.
This was the request I used in Microsoft Graph Explorer:
Request Query:
PATCH https://graph.microsoft.com/beta/contacts/fe851502-c15a-476b-bc68-bd2842721fb6
Request Body:
{
"surname": "TESTSURNAME"
}
And this is the full response:
{
"error": {
"code": "Request_BadRequest",
"message": "Unable to update the specified properties for objects that have originated within an external service.",
"innerError": {
"request-id": "608a620d-8911-4425-b70c-6e1fbdec59dc",
"date": "2018-04-03T12:52:25"
}
}
}
- What could I be doing wrong?
- What does it mean by originated within an external service?
- Or if this a bug in the API, how do we report this / get this fixed?