Open Alex-Growtek opened 9 months ago
As per Get a special folder by name 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} webUrl: https://contoso-my.sharepoint.com/personal/alex_growtek_contoso_com/Documents/Documents
{userId} webUrl: https://contoso.sharepoint.com/Shared%20Documents/Documents
Is it a bug? As I couldn't find the way to fix that.
As per Get a special folder by name 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} webUrl: https://contoso-my.sharepoint.com/personal/alex_growtek_contoso_com/Documents/Documents
{userId} webUrl: https://contoso.sharepoint.com/Shared%20Documents/Documents
Is it a bug? As I couldn't find the way to fix that.