Why do /delegatedAdminRelationships and /delegatedAdminCustomers requests always return an empty result?

Sylvain Rousselle 0 Reputation points
2025-01-08T22:35:16.2233333+00:00

https://graph.microsoft.com/v1.0/tenantRelationships/delegatedAdminRelationships and https://graph.microsoft.com/v1.0/tenantRelationships/delegatedAdminCustomers  always give empty results, even when some delegated privileges are configured in the tenant.

Is this a bug in the API?

Response example:

{     "@odata.context": "https://graph.microsoft.com/beta/$metadata#tenantRelationships/delegatedAdminRelationships",     "@microsoft.graph.tips": "Use $select to choose only the properties your app needs, as this can lead to performance improvements. For example: GET tenantRelationships/delegatedAdminRelationships?$select=accessDetails,activatedDateTime",     "value": [] }

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,810 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yakun Huang-MSFT 9,225 Reputation points Microsoft Vendor
    2025-01-09T02:22:18.9866667+00:00

    Hello Sylvain Rousselle,

    Thank you for reaching out to Microsoft Support!

    Please check if you have delegatedAdminRelationship in Azure AD Delegeted admin partners.

    User's image

    If you did not Create the relationship, returning an empty result is the expected behavior, and you can create it using the Create endpoint and then List it.

    Reference document:

    https://learn.microsoft.com/en-us/graph/api/resources/delegatedadminrelationship?view=graph-rest-1.0

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.