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”: []
}
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”: []
} Read More