2016-05-16 45 views
0

嘗試使用Microsoft Graph API更新組織屬性時遇到問題。我遵循these docs並在graph explorer中嘗試過。無法更新組織屬性

我的要求是這樣的:
{ "displayName": "My Company Name" }

無論我做什麼,我總是得到以下錯誤:
"error": { "code": "Request_BadRequest", "message": "Specified HTTP method is not allowed for the request target.", "innerError": { "request-id": "dfd9ae19-2774-4b10-8d74-f6f6cd21f712", "date": "2016-05-16T14:48:02" } }

我在做什麼錯?

回答

1

我在我的測試租戶中嘗試過並導致相同的錯誤。

https://graph.microsoft.io/en-us/docs/api-reference/v1.0/resources/organization

在中提到,我們可以通過更新 API更新「marketingNotificationMails」和「technicalNotificationMails」單獨的屬性上述文件。所以我認爲你不能更新組織顯示名稱。

+0

感謝您的回答!但是,您是否知道是否有辦法更新顯示名稱和其他組織配置文件細節? – BukeMan

0

它看起來好像組織實體上的更新是有限的。請向Uservoice提出請求,要求提供此功能。