Reputation: 2242
I'm currently developing an application that uses an Azure AD instance. I'm trying to query this AD to sync the users to my system. I want to retrieve all the users and their groups. The Microsoft Graph API has the following function for this operation:
https://graph.microsoft.com/v1.0/users?$expand=memberOf
However, this gives me the same response as calling: https://graph.microsoft.com/v1.0/users
. Users in my AD do have groups and I did try calling the api with $select
instead of $expand
, but also without result.
Is this a bug? Am I doing something wrong?
Thanks!
Upvotes: 4
Views: 2518
Reputation: 2447
Expanding navigation properties on user entities is currently not working on the production (v1.0). Please see this post for more information: https://stackoverflow.com/a/39022980.
Upvotes: 4