OfficeDev / microsoft-teams-library-js

JavaScript library for use by Microsoft Teams apps
https://docs.microsoft.com/microsoftteams/platform/
Other
427 stars 195 forks source link

[Bug]: Sharing content to screen will error for unverified users if they are marked as presenter #2549

Open RichieMcCaff opened 2 days ago

RichieMcCaff commented 2 days ago

In a pre-orgranised meeting that includes external/unverified users. If an app using liveshare presents content to the main stage and any of these unverified users are marked as presenters (The default role applied) they will see the following error:

Screenshot 2024-09-24 at 18 28 21

Switching these users to attendee roles will allow content to present to their screens.

To Reproduce

Steps to reproduce the behavior:

  1. Create a new meeting in teams
  2. Invite external users to the meeting
  3. Mark the external users as presenter roles
  4. Use an liveshare app to present content to the screen
  5. Error appears on External users screen

This is from using the meeting module function shareAppContentToStage meeting.shareAppContentToStage((error) => { if (error) { logError(error) } },${window.location.origin}${route})

Screenshots User marked as presenter error:

Screenshot 2024-09-24 at 18 40 22

User marked as Attendee it works:

Screenshot 2024-09-24 at 18 40 43

**Desktop(s)

microsoft-github-policy-service[bot] commented 2 days ago

Hi RichieMcCaff! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

Nivedipa-MSFT commented 2 days ago

@RichieMcCaff - Thanks for reporting your issue. We will check this and update you soon.