microsoftgraph / microsoft-graph-explorer-v4

React/Redux version of Graph Explorer used to learn the Microsoft Graph Api
https://developer.microsoft.com/graph/graph-explorer
MIT License
212 stars 90 forks source link

Unconsistent behavior for List a user's memberships (direct and transitive) API when seting ConsisencyLevel=eventual. #3336

Open microzchang opened 6 days ago

microzchang commented 6 days ago

Describe the bug When I try to use List a user's memberships (direct and transitive) API, and find unconsistent behavior with the same request body and header(ConsistencyLevel:eventual). We don't have any updates for this user. Request Uri: https://graph.microsoft.com/v1.0/me/transitiveMemberOf/microsoft.graph.group?$count=true&$select=id&$top=999 Request header: ConsistencyLevel:eventual

To Reproduce Steps to reproduce the behavior:

  1. Go to https://learn.microsoft.com/en-us/graph/api/user-list-transitivememberof?view=graph-rest-1.0&tabs=http#code-try-2
  2. try with the URI above

Expected behavior return the same response.

Screenshots If applicable, add screenshots to help explain your problem. Reuqest 1: Response header: { "cache-control": "no-cache", "client-request-id": "023aebd0-d59d-8498-a820-f9cb1f9b3250", "content-type": "application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8", "request-id": "1543c2c8-7da3-45a2-8edf-bbd9f80fecf8" }

Response Body: { "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#groups(id)", "@odata.count": 165, "value": [ ... ] } image

Reuqest 2: Response header: { "cache-control": "no-cache", "client-request-id": "5ad6af04-bfac-b54f-061d-d46e5fa699ff", "content-type": "application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8", "request-id": "5addf964-6daa-421e-bff2-851ba255b62c" }

Response Body: { "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#groups(id)", "@odata.count": 866, "value": [ ... ] } image

ElinorW commented 8 hours ago

Hi @microzchang, I am currently unable to reproduce this. Could you confirm that this is still happening?