We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I would like to get the content of a file from a SharePoint site knowing the path and I am trying to use this Graph URL:
https://graph.microsoft.com/v1.0/sites/00000000-0000-0000-0000-000000000000/drive/root:/ExcelFile.xlsx/content
I would like to do the same using GraphServiceClient and I have tried different approaches, but Root drive seems inaccessible e.g.
var fileStream = await graphServiceClient.Sites[siteId].Drive.Root.ItemWithPath(filePath).Content.Request().GetAsync();
Could you help me?
Thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I would like to get the content of a file from a SharePoint site knowing the path and I am trying to use this Graph URL:
https://graph.microsoft.com/v1.0/sites/00000000-0000-0000-0000-000000000000/drive/root:/ExcelFile.xlsx/content
I would like to do the same using GraphServiceClient and I have tried different approaches, but Root drive seems inaccessible e.g.
var fileStream = await graphServiceClient.Sites[siteId].Drive.Root.ItemWithPath(filePath).Content.Request().GetAsync();
Could you help me?
Thanks
The text was updated successfully, but these errors were encountered: