Dec 28 2023 02:47 AM - edited Dec 28 2023 02:54 AM
Hello,
Based on the documentation I can perform the following query to get data about a certain Special folder in OneDrive.
It works perfectly if I query myself:
https://graph.microsoft.com/v1.0/me/drive/special/documents
However, if I enter an actual "userId" https://graph.microsoft.com/v1.0/{userId}/drive/special/documents
I'm getting data from a shared site, instead of my personal.
{me}:
https://contoso-my.sharepoint.com/personal/alex_growtek_contoso_com/Documents/Documents
{userId}:
https://contoso.sharepoint.com/Shared%20Documents/Documents
Is it a bug? As I couldn't find the way to fix that.