简体   繁体   English

MS Teams Graph API - 如何允许客人在聊天中发言而不向组织者发送邀请

[英]MS Teams Graph API - How to Allow guests to speak in chat and not to send invitation to the organizer

I'd like to create Teams online meetings using Graph API Create onlineMeeting in my application.我想使用 Graph API 在我的应用程序中创建在线会议来创建团队在线会议。 I have configured the application access policy so that my application can create meetings without users.我已配置应用程序访问策略,以便我的应用程序可以在没有用户的情况下创建会议。

I'd like to create the following meetings: 1)All participants can enter without lobby, 2)All participants can speak in chat, 3) The organizer doesn't get invitation .我想创建以下会议: 1)所有参与者都可以在没有大厅的情况下进入,2)所有参与者都可以在聊天中发言,3)组织者没有收到邀请 But currently guests cannot speak in chat and an invitation will be sent to the organizer in the following request.但目前客人无法在聊天中发言,并且将在以下请求中向组织者发送邀请。 How can I fix this?我怎样才能解决这个问题?

Request要求

 {
   "subject":"test meeting",
   "lobbyBypassSettings": {"scope":"everyone"},
 }

Response回复

 {
     "@odata.context": "https://graph.microsoft.com/beta/$metadata#users('39................')/onlineMeetings/$entity",
     "id": "MSo...............",
     "creationDateTime": "2021-11-24T04:48:07.7082659Z",
     "startDateTime": "2021-11-24T04:48:05.4391977Z",
     "endDateTime": "2021-11-24T05:48:05.4391977Z",
     "joinUrl": "https://teams.microsoft.com/l/meetup-join/.................",
     "joinWebUrl": "https://teams.microsoft.com/l/meetup-join/....................",
     "meetingCode": null,
     "subject": "test meeting",
     "isBroadcast": false,
     "autoAdmittedUsers": "everyone",
     "outerMeetingAutoAdmittedUsers": null,
     "isEntryExitAnnounced": true,
     "allowedPresenters": "everyone",
     "allowMeetingChat": "enabled",
     "allowTeamworkReactions": true,
     "allowAttendeeToEnableMic": true,
     "allowAttendeeToEnableCamera": true,
     "recordAutomatically": false,
     "capabilities": [],
     "videoTeleconferenceId": null,
     "externalId": null,
     "broadcastSettings": null,
     "audioConferencing": null,
     "meetingInfo": null,
     "participants": {
         "organizer": {
             "upn": "...............@...........onmicrosoft.com",
             "role": "presenter",
             "identity": {
                 "acsUser": null,
                 "spoolUser": null,
                 "phone": null,
                 "guest": null,
                 "encrypted": null,
                 "onPremises": null,
                 "acsApplicationInstance": null,
                 "spoolApplicationInstance": null,
                 "applicationInstance": null,
                 "application": null,
                 "device": null,
                 "user": {
                     "id": "39.................",
                     "displayName": null,
                     "tenantId": "3e.............................",
                     "identityProvider": "AAD"
                 }
             }
         },
         "attendees": [],
         "producers": [],
         "contributors": []
     },
     "lobbyBypassSettings": {
         "scope": "everyone",
         "isDialInBypassEnabled": false
     },
     "chatInfo": {
         "threadId": "19:meeting..............................",
         "messageId": "0",
         "replyChainMessageId": null
     },
     "joinInformation": {
         "content": "data:text/html,..........",
         "contentType": "html"
     }
 }

(Partially omitted.) (部分省略。)

Thanks.谢谢。

For more visibility, adding the answer form the comment section:为了获得更多可见性,请在评论部分添加答案:

1.You can automatically allow people in your organization bypass the lobby. 1.您可以自动允许组织中的人员绕过大厅。 Configure in Teams admin center > Meetings > Meeting policies > Participants & guests.( support.microsoft.com/en-gb/office/… )在 Teams 管理中心 > 会议 > 会议策略 > 参与者和来宾中进行配置。( support.microsoft.com/en-gb/office /...)

  1. Under Calling, Meeting, and Messaging, Chat – Turn this setting On to give guests the ability to use chat in Teams ( docs.microsoft.com/en-us/microsoftteams/… )在呼叫、会议和消息、聊天下 - 打开此设置以使客人能够在 Teams 中使用聊天 ( docs.microsoft.com/en-us/microsoftteams/... )

  2. There is no such way to do this.没有这样的方法可以做到这一点。 I think the organizer will get notification by default.我认为组织者默认会收到通知。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM