| title | Update tenantGovernanceSetting |
|---|---|
| description | Update the canReceiveInvitations property of the tenant governance settings. |
| author | hafowler |
| ms.date | 03/10/2026 |
| ms.localizationpriority | medium |
| ms.subservice | entra-tenant-governance |
| doc_type | apiPageType |
Namespace: microsoft.graph.tenantGovernanceServices
[!INCLUDE beta-disclaimer]
Update the canReceiveInvitations property of the tenantGovernanceSetting singleton. This property controls whether the tenant can receive governance invitations.
[!INCLUDE national-cloud-support]
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
[!INCLUDE permissions-table]
[!INCLUDE rbac-tenant-governance-apis-write]
PATCH /directory/tenantGovernance/settings| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
| Content-Type | application/json. Required. |
[!INCLUDE table-intro]
| Property | Type | Description |
|---|---|---|
| canReceiveInvitations | Boolean | Indicates whether the tenant can receive governance invitations. When set to false, the tenant can't receive new governance invitations. When set to true, other tenants can send your tenant invitations by providing your tenant ID or domain name. This setting is disabled by default. Required. |
If successful, this method returns a 200 OK response code and an updated microsoft.graph.tenantGovernanceServices.tenantGovernanceSetting object in the response body.
The following example shows a request.
PATCH https://graph.microsoft.com/beta/directory/tenantGovernance/settings
Content-Type: application/json
{
"canReceiveInvitations": true
}[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
The following example shows the response.
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.type": "#microsoft.graph.tenantGovernanceServices.tenantGovernanceSetting",
"isRelatedTenantsEnabled": true,
"canReceiveInvitations": true
}