我收到以下无效请求错误(消息:提供的参数之一不可接受):
DriveRecipient[] invitees = new DriveRecipient[1];
invitees[0] = new DriveRecipient()
{
Email = "testEmail@testdomain.com"
};
var test = await graphClient
.Me
.Drive
.Root
.ItemWithPath("/TestFolder")
.Invite(invitees, true, sendInvitation : true, message: "Test Message")
.Request()
.PostAsync();
我正在尝试在OneDrive中共享文件夹(root/TestFolder
),但是收到无效的请求错误。是否可以通过这种方式共享文件夹?或者,如果不起作用,我将如何创建共享文件夹?
答案 0 :(得分:0)
您需要包括要应用的roles
(“读”和/或“写”):
----------
mine_functions:
----------
manager_ip:
|_
----------
mine_function:
network.ip_addrs
- ens32
manager_token:
|_
----------
mine_function:
cmd.run
- docker swarm join-token manager -q
network.ip_addrs:
- ens32
worker_token:
|_
----------
mine_function:
cmd.run
- docker swarm join-token worker -q