Skip to content

Latest commit

 

History

History
169 lines (136 loc) · 6.15 KB

File metadata and controls

169 lines (136 loc) · 6.15 KB
title List governanceRelationships
description Get a list of governance relationships.
author hafowler
ms.date 03/10/2026
ms.localizationpriority medium
ms.subservice entra-tenant-governance
doc_type apiPageType

List governanceRelationships

Namespace: microsoft.graph.tenantGovernanceServices

[!INCLUDE beta-disclaimer]

Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant.

[!INCLUDE national-cloud-support]

Permissions

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-relationship-apis-read]

HTTP request

GET /directory/tenantGovernance/governanceRelationships

Optional query parameters

This method supports the $filter, $orderby, $top, $skip, and $skiptoken OData query parameters to help customize the response. For general information, see OData query parameters.

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and a collection of governanceRelationship objects in the response body.

Examples

Request

The following example shows a request.

GET https://graph.microsoft.com/beta/directory/tenantGovernance/governanceRelationships

[!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]


Response

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

{
  "value": [
    {
      "@odata.type": "#microsoft.graph.tenantGovernanceServices.governanceRelationship",
        "createdType": "approvedByAdmin",
        "creationDateTime": "2025-09-11T17:07:41.2019694Z",
        "id": "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb",
        "status": "Active",
        "governingTenantId": "aaaabbbb-0000-cccc-1111-dddd2222eeee",
        "governedTenantId": "bbbbcccc-1111-dddd-2222-eeee3333ffff",
        "governingTenantName": "Contoso, Inc",
        "governedTenantName": "Fabrikam",
        "policySnapshot": {
            "policyId": "d3d3d3d3-eeee-ffff-aaaa-b4b4b4b4b4b4",
            "multiTenantApplicationsToProvision": [
            {
                "appId": "66667777-aaaa-8888-bbbb-9999cccc0000",
                "objectId": "cccccccc-2222-3333-4444-dddddddddddd",
                "displayName": "Mega Monitor",
                "requiredResourceAccesses": [
                    {
                      "resourceAppId": "00000003-0000-0000-c000-000000000000",
                      "permissions": [
                      {
                        "id": "633e0fce-8c58-4cfb-9495-12bbd5a24f7c",
                        "name": "Policy.Read.ConditionalAccess",
                        "type": "scope"
                      },
                      {
                        "id": "e1fe6dd8-ba31-4d61-89e7-88639da4683d",
                        "name": "User.Read",
                        "type": "scope"
                      }
                      ]
                    }
                ]
            }
          ],
          "delegatedAdministrationRoleAssignments": [
            {
                "roleTemplates": [
                    {
                        "id": "f2ef992c-3afb-46b9-b7cf-a126ee74c451",
                        "name": "Global Reader"
                    }
                ],
                "group": {
                    "id": "ffffffff-5555-6666-7777-aaaaaaaaaaaa"
                }
            }
          ]
        }
      }
  ]
}