我找不到任何关于如何使用MS Graph SDK将文件上传到SharePoint库子文件夹的示例。 这些帖子展示了如何使用REST API,而不是C# SDK来做这件事。 upload files in a folder in Sharepoint/OneDrive library using graph api How to perform a resumable Upload to a SharePoint Site (Not Root) Subfolder using MS Graph API
我想在UWP应用程序中列出我的所有业务项目的OneDrive。为此,我使用了来自NuGet的“微软图形客户端库”。它是Microsoft Graph REST-API的包装库。
当我试图从我的根驱动器或特定的文件夹ID中获取所有项或子项(我都尝试过了)时,我只得到一个空列表。但是在我的驱动器中有不同的文件和文件夹。即使我在没有这个包装器的情况下使用REST-API,我也只能得到一个空结果。
但是当我使用" recent“函数时,我会得到我最近使用过的物品的列表。
// Returns an empty result without error
GraphServiceClient.Me
我试图从C#从MS Graph API的消息中获取EventMessage,但每次它都将类型显示为消息而不是EventMessage。以下是代码:
public static Graph.MailFolderMessagesCollectionPage ReadInbox()
{
GetAuthenticatedClient();
var result = new Graph.MailFolderMessagesCollectionPage();
List<Graph.QueryOption> options = new List<Graph.QueryOp
我找不到任何使用图形API在OneDrive回收站中下载项目的方法。是否支持此功能?如果有人知道这一点,请让我知道。 已经经历了以下旧线程,这些线程说这是不受支持的。我想知道最近是否有人尝试过和/或找到了解决方法。 Is there Any API for getting the Trash(Recycle bin) items in one drive graph api? Is there any way to fetch the recycle bin items of share point office365 using graph API?