我目前正在尝试开发一个创建Skype会议的应用程序
我正在利用C#UCWA SDK并在线开发Skype for Business
如果我只在参与者中包含来自租户的人员,会议创建工作正常,只要我在会议中包含非租户的人,我会收到以下错误消息:
{"code":"BadRequest","subcode":"ParameterValidationFailure","message":"Please check what you entered and try again.","debugInfo":{"diagnosticsCode":"2"}}
这是我的代码示例
var meeting = new MyOnlineMeeting()
{
AccessLevel = AccessLevel.Everyone,
Attendees = new string[] { $"sip:{Settings.SkypeUserEmail}" }, //Adding anybody else than the service account makes it fail for now
Subject = series.Subject,
ExpirationTime = DateTime.Now.AddDays(3),
AutomaticLeaderAssignment = AutomaticLeaderAssignment.SameEnterprise,
Leaders = series.Organizers.Select(x => $"sip:{x.EmailAddress}").ToArray(),
LobbyBypassForPhoneUsers = LobbyBypassForPhoneUsers.Enabled,
PhoneUserAdmission = PhoneUserAdmission.Disabled
};
var dialIn = await client.OnlineMeetings.GetPhoneDialInInformation();
var meetings = await client.OnlineMeetings.GetMyOnlineMeetings();
var result = await meetings.Create(meeting);
将外部用户添加到组织者属性可以正常工作。 我的问题是:如何将外部与会者添加到我正在创建的会议中?与会者有什么具体的内容吗?
答案 0 :(得分:0)
在Microsoft Skype for Business MVP的私人分发列表上进行了几次交流后,与会者似乎必须成为组织的一部分,否则呼叫将失败。
提交了Pull Request以更新documentation