简体   繁体   中英

Microsoft Graph API transient user filter

Is there a way for me to get back ONLY users when I call List group transitive users in graph API?

The response I get has objects for groups as well as users EG:

{group: IT support},

{user: Kevin},
{user: Bob},
{user: Phil},

{group: Developers},

{user:phil}

Id like to be able to filter out the group objects but no dice. Has anyone been able to do this before? Thanks

Usually, we can use $filter query parameter to retrieve the response we need, but it seems that '@odata.type' is not supported to be a query param here. I will double confirm with Azure support engineer.

By the way, the response is in json format, you can write a filter yourself to get the user objects only.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM