microsoftgraph / microsoftgraph/msgraph-sdk-dotnet
ListItem Permissions API not working with itemNotFound
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 789
- Forks
- 264
- Avg merge
- 15h 17m
- Merged PRs (30d)
- 3
Description
Describe the bug
I'm trying to use Graph beta API to get ListItem permission but got itemNotFound error.
Expected behavior
Works normally
How to reproduce
Use graph explorer or Graph sdk.
SDK Version
No response
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```Request:
https://graph.microsoft.com/beta/sites/xxx.sharepoint.com,ea0ad322-2b3a-4863-a452-79bd4fe29bc9,c656d1d8-ab24-497d-bd4d-6e4b3f79f1f9/lists/b4a0f386-8917-4679-b97f-1d399e1b30b2/items/1d171ea9-57f9-43d6-bd96-a9dd6999c1b5/permissions
Authorization: Bearer eyJ0e
Response:
Cache-Control: no-store, no-cache
Transfer-Encoding: chunked
Strict-Transport-Security: max-age=31536000
request-id: 639f513f-77a3-4f78-a136-98eaa3e23687
client-request-id: 639f513f-77a3-4f78-a136-98eaa3e23687
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Korea Central","Slice":"E","Ring":"4","ScaleUnit":"003","RoleInstance":"SE1PEPF0000C15F"}}
Link: https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=beta,Removal&from=2021-09-01&to=2021-10-01;rel="deprecation";type="text/html", https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=beta,Removal&from=2021-09-01&to=2021-10-01;rel="deprecation";type="text/html"
Deprecation: Fri, 03 Sep 2021 23:59:59 GMT
Sunset: Sun, 01 Oct 2023 23:59:59 GMT
Date: Tue, 16 Jul 2024 01:37:42 GMT
{"error":{"code":"itemNotFound","message":"Item not found","innerError":{"date":"2024-07-16T01:37:42","request-id":"639f513f-77a3-4f78-a136-98eaa3e23687","client-request-id":"639f513f-77a3-4f78-a136-98eaa3e23687"}}}
</details>
### Configuration
_No response_
### Other information
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the beta request shown in the issue through Graph Explorer or the .NET SDK, focusing on the ListItem permissions endpoint and its itemNotFound response. Check whether the behavior is in the SDK or the Graph service; done means the cause and an actionable correction or documented resolution are established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100