question

LaurensAdema-2290 avatar image
0 Votes"
LaurensAdema-2290 asked LaurensAdema-2290 edited

Bug: When expanding a Graph device call with transativeMemberOf, the results aren't transative

When doing a call on the transativeMemberOf endpoint of a device (https://graph.microsoft.com/v1.0/devices/{id}/transitiveMemberOf), the result contains all transative groups as expected. But if the same call is made with the expand keyword, the results aren't transative (https://graph.microsoft.com/v1.0/devices/{id}?$expand=transitiveMemberOf) and only direct memberships are returned.

azure-ad-device-management
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @laurensadema-2290,

Thanks for using Microsoft Q&A !!

I believe this is an expected behavior for $expand but I am checking internally on the same and get back to you.

Thanks
Saurabh

0 Votes 0 ·

Hi @laurensadema-2290,

I have received the below response through our internal channels - As per the documentation (List device transitive groups - Microsoft Graph v1.0 | Microsoft Docs) the supported optional query parameters are $search, $count and $filter.

Can you please elaborate on your need for the $expand query parameter here?

Thanks
Saurabh

0 Votes 0 ·

Hi @laurensadema-2290,

Following up as I have not heard back from you.

Thanks
Saurabh

0 Votes 0 ·
Show more comments

0 Answers