I am using the Azure Graph APIs and trying to get the owners for groups (both security groups and distribution lists). No matter what I have tried, I never get any owners returned. I also do not receive any errors.
Here is an example request that I have tried:
https://graph.windows.net/xxxx.onmicrosoft.com/groups('14bc6e52-a89e-4e4c-b461-5a4e995b8856')/owners?api-version=2013-11-08
Here is the response:
stdClass Object ( [odata.metadata] => https://graph.windows.net/xxxx.onmicrosoft.com/$metadata#directoryObjects [value] => Array ( ) )
I have also tried to use $expand=owners but that does not return any data either.
Please let me know if this is a known issue or if I should be doing something different.