UWP OneDrive appfolder麻烦

时间:2016-04-13 18:09:21

标签: c# onedrive

使用Microsoft.OneDriveSDK的Win10 c#uwp - 无法获得批准的孩子,无法上传项目。

private readonly string[] scopes = new string[] { "onedrive.appfolder", "wl.offline_access", "wl.signin" };
IOneDriveClient oneDriveClient = OneDriveClientExtensions.GetUniversalClient(scopes);
await oneDriveClient.AuthenticateAsync();
...
var items = await oneDriveClient.Drive.Special.AppRoot.Request().GetAsync();
Or
var items = await oneDriveClient.Drive.Special.AppRoot.Children.Request().GetAsync();

异常" OneDriveException"投掷 - 代码:" notAllowed",消息:"达到项目数量的最大限制"。
如果尝试上传新文件,也会出现相同的异常 应用程序与商店相关联 我错了什么?

0 个答案:

没有答案