Service | Microsoft Docs article | Related commit history on GitHub | Change details |
---|---|---|---|
platform | Build Apps For Teams Meeting Stage | https://github.com/MicrosoftDocs/msteams-docs/commits/main/msteams-platform/apps-in-teams-meetings/build-apps-for-teams-meeting-stage.md | To invoke share to stage, users can select the **Share to Stage** icon on the to ## App manifest settings for apps in meeting stage -To share an app to the meeting stage, update the `context` property in the app manifest as follows: +To share an app to the meeting stage, you must configure the context and RSC permissions in the app manifest: -```json -"context":[ - "meetingSidePanel", - "meetingStage" - ] -``` +1. Update the `context` property in the app manifest as follows: ++ ```json + "context":[ + "meetingSidePanel", + "meetingStage" + ] + ``` ++2. Obtain the RSC permissions by configuring the `authorization` property, and the `name` and `type` in the `resourceSpecific` field as follows: ++ ```json + "authorization": { + "permissions": { + "resourceSpecific": [ + { + "name": "MeetingStage.Write.Chat", + "type": "Delegated" + } + ] + } + } + ``` ## Advanced share to stage APIs The `shareAppContentToStage` API enables you to share specific parts of your app ### Prerequisite -* To use the `shareAppContentToStage` API, you must obtain the RSC permissions. In the app manifest, configure the `authorization` property, and the `name` and `type` in the `resourceSpecific` field. For example: -- ```json - "authorization": { - "permissions": { - "resourceSpecific": [ - { - "name": "MeetingStage.Write.Chat", - "type": "Delegated" - } - ] - } - } - ``` --* `appContentUrl` must be allowed by `validDomains` array inside manifest.json, else the API returns a 501 error. +`appContentUrl` must be allowed by `validDomains` array inside manifest.json, else the API returns a 501 error. ### Query parameter |