Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
microzchang opened this issue Sep 25, 2024 · 2 comments
Labels
Needs: Attention 👋 Author has responded to the issue ToTriage

Comments

@microzchang
Copy link

microzchang commented Sep 25, 2024

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(Timestamp 2024-10-14 10:26):
Response header:
{
"cache-control": "no-cache",
"client-request-id": "f90f8be0-6e97-4fe9-73af-0ac4ccd8a0dc",
"content-type": "application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8",
"request-id": "36e3062d-c1d9-409b-a0fa-a5beb6fdabc1"
}

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

Reuqest 2(Timestamp 2024-10-14 10:25):
Response header:
{
"cache-control": "no-cache",
"client-request-id": "fda3d146-dbf1-f057-70fa-2c470ff4d3b3",
"content-type": "application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8",
"request-id": "84b78a91-b576-402f-914f-4b28d7ba27c5"
}

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

@ElinorW
Copy link
Collaborator

ElinorW commented Oct 1, 2024

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

@microzchang
Copy link
Author

Hi, @ElinorW It's still happening. May be you can try to use my oid(zchang) to query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Attention 👋 Author has responded to the issue ToTriage
Projects
None yet
Development

No branches or pull requests

2 participants