Office365-REST-Python-Client icon indicating copy to clipboard operation
Office365-REST-Python-Client copied to clipboard

Access odata.type in Response

Open tuesdayMike opened this issue 1 year ago • 0 comments

Hi there,

is there a way to access the "@odata.type" property in the response? I'm querying group members and would like to distinguish between users, (sub-)groups or devices. I tried get_property and the json representation with no luck. Any other ideas?

Thank you!

Request:

https://graph.microsoft.com/v1.0/groups/xxx_uuid_yyy/members?$top=999

tuesdayMike avatar Dec 06 '24 10:12 tuesdayMike