connectedOrganization の更新

名前空間: microsoft.graph

connectedOrganization オブジェクトを更新して、1 つ以上のプロパティを変更します。

アクセス許可

この API を呼び出すには、次のいずれかのアクセス許可が必要です。アクセス許可の選択方法などの詳細については、「アクセス許可」を参照してください。

アクセス許可の種類 アクセス許可 (特権の小さいものから大きいものへ)
委任 (職場または学校のアカウント) EntitlementManagement.ReadWrite.All
委任 (個人用 Microsoft アカウント) サポートされていません。
アプリケーション EntitlementManagement.ReadWrite.All

HTTP 要求

PATCH /identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganizationId}

要求ヘッダー

名前 説明
Authorization ベアラー {token}。必須。
Content-Type application/json. Required.

要求本文

要求本文では、更新する必要があるプロパティの値 のみ を指定します。要求本文に含まれていない既存のプロパティは、以前の値を保持するか、他のプロパティ値の変更に基づいて再計算されます。

次の表に、更新できるプロパティを示します。

プロパティ 説明
displayName 文字列 接続されている組織名。
description String 接続されている組織の説明。
identitySources identitySource コレクション この接続された組織の ID ソース、azureActiveDirectoryTenant、domainIdentitySource、または externalDomainFederationの 1 つ。 Null 許容型。
state connectedOrganizationState 接続されている組織の状態は、要求者スコープの種類を持つ割り当てポリシーが適用可能 AllConfiguredConnectedOrganizationSubjects かどうかを定義します。 可能な値は、configuredproposed です。

応答

成功した場合、このメソッドは応答コードと、応答本文 202 Accepted の connectedOrganization オブジェクトを返します。

要求

PATCH https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement/connectedOrganizations/{id}
Content-Type: application/json

{
  "displayName":"Connected organization new name",
  "description":"Connected organization new description",
  "state":"configured"
}

応答

注: ここに示す応答オブジェクトは、読みやすさのために短縮されている場合があります。

HTTP/1.1 202 Accepted
Content-type: application/json

{
  "id": "006111db-0810-4494-a6df-904d368bd81b",
  "displayName":"Connected organization new name",
  "description":"Connected organization new description",
  "state":"configured"
}