Update organization

Namespace: microsoft.graph


APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization.


One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Organization.ReadWrite.All, Directory.AccessAsUser.All
Delegated (personal Microsoft account) Not supported.
Application Organization.ReadWrite.All

HTTP request

PATCH /organization/{id}

Request headers

Name Description
Authorization Bearer {token}. Required.
Content-Type application/json

Request body

In the request body, supply the values for relevant fields that should be updated. Existing properties that are not included in the request body will maintain their previous values or be recalculated based on changes to other property values. For best performance you shouldn't include existing values that haven't changed.

Property Type Description
marketingNotificationEmails String collection Notes: not nullable.
privacyProfile privacyProfile The privacy profile of an organization (set statementUrl and contactEmail).
securityComplianceNotificationMails String collection
securityComplianceNotificationPhones String collection
technicalNotificationMails String collection Notes: not nullable.

Since the organization resource supports extensions, you can use the PATCH operation to add, update, or delete your own app-specific data in custom properties of an extension in an existing organization instance.


If successful, this method returns 204 No Content response code. It does not return anything in the response body.



Here is an example of the request.

PATCH https://graph.microsoft.com/beta/organization/{id}
Content-type: application/json
Content-length: 411

  "marketingNotificationEmails" : ["marketing@contoso.com"],
  "privacyProfile" :
  "securityComplianceNotificationMails" : ["security@contoso.com"],
  "securityComplianceNotificationPhones" : ["(123) 456-7890"],
  "technicalNotificationMails" : ["tech@contoso.com"]

Here is an example of the response.

HTTP/1.1 204 No Content

See also