An API that connects multiple Microsoft services, enabling data access and automation across platforms
API return wrong drive when request have a drive?
I use **msgraph-sdk-dotnet **to get a file.
I try to get a file using GraphId. But in msgraph-sdk-dotnet, it must set a drive before request.
This way is work before 3/19/2024: _client.Drives[driveId].Items[graphId].Request().GetAsync()
After 3/19/2024, the method will return a driveItem for ANY driverId although the file(with graphId) is just existed on ONE driver. It looks like this:
result1=_client.Drives[driveId1].Items[graphId1].Request().GetAsync()
result2 = _client.Drives[driveId2].Items[graphId1].Request().GetAsync()
Both result1 and result2 are not null. But actually, file graphId1 is under driveId1.
It is confused.
I created an issue to msgraph-sdk-dotnet team as well.
https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/2402
Is there any idea about this issue? Is there any update nearby 3/19/2024?