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.