Forum Discussion

RDelph's avatar
RDelph
Copper Contributor
Oct 06, 2024

Graph API - Returning Blank Groups Owners

When using the https://graph.microsoft.com/v1.0/groups/{group_id}/owners graph API endpoint, we get an empty result for the owner despite the owners being visible in the Admin Portal. We know we have the right group_id because it returns the information in the root node and the members when using the member node. The result from owners API node is below:

 

{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#directoryObjects",
    "value": []
}

2 Replies

  • kieranw2285's avatar
    kieranw2285
    Copper Contributor

    I'm running into this issue as well, but Owners are currently not populated for certain groups:
    "The owners are a set of users who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange, distribution groups, or groups that are synchronized from an on-premises environment."
    taken from:
    List group owners - Microsoft Graph beta | Microsoft Learn

  • Check your permissions/access token. Depending on how you authenticate, you might need to grant additional scopes.

Resources