SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.25k stars 1.01k forks source link

SPFx 1.20.0 Teams in meeting app not available when adding a new app #9996

Open pheidler opened 1 week ago

pheidler commented 1 week ago

What type of issue is this?

Question

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Target SharePoint environment

SharePoint Online

What browser(s) / client(s) have you tested

Additional environment details

Tested in Teams and Browser (Edge)

Issue description

I was able to get this working in SPFx 1.18.2 but haven't been able to get it to work in the current version. I tested this with a new solution and followed this guide: https://learn.microsoft.com/en-us/sharepoint/dev/spfx/build-for-teams-meeting-app

Here is my custom manifest.json file:

{
  "$schema": "https://developer.microsoft.com/json-schemas/teams/v1.8/MicrosoftTeams.schema.json",
  "manifestVersion": "1.8",
  "packageName": "in-meeting-extension",
  "id": "50c3748c-50ac-44c4-8155-b59d657b60c1",
  "version": "1.0.0",
  "developer": {
    "name": "Pete Heidler",
    "websiteUrl": "",
    "privacyUrl": "",
    "termsOfUseUrl": "",
    "mpnId": ""
  },
  "name": {
    "short": "in-meeting-extension"
  },
  "description": {
    "short": "Example description",
    "full": "Example description"
  },
  "icons": {
    "outline": "50c3748c-50ac-44c4-8155-b59d657b60c1_outline.png",
    "color": "50c3748c-50ac-44c4-8155-b59d657b60c1_color.png"
  },
  "accentColor": "#004578",
  "configurableTabs": [
    {
      "configurationUrl": "https://{teamSiteDomain}/_layouts/15/TeamsLogon.aspx?SPFX=true&dest=/_layouts/15/teamshostedapp.aspx%3Fteams%26componentId=50c3748c-50ac-44c4-8155-b59d657b60c1",
      "canUpdateConfiguration": false,
      "scopes": ["team", "groupchat"],
      "context": [
        "channelTab",
        "privateChatTab",
        "meetingSidePanel",
        "meetingDetailsTab",
        "meetingChatTab"
      ]
    }
  ],
  "validDomains": [
    "*.login.microsoftonline.com",
    "*.sharepoint.com",
    "resourceseng.blob.core.windows.net"
  ],
  "webApplicationInfo": {
    "resource": "https://{teamSiteDomain}",
    "id": "00000003-0000-0ff1-ce00-000000000000"
  }
}

App appears in Teams apps: image

App does not appear in the list of meeting apps: image

I cannot add TeamsMeetingApp to the list of supported hosts (as described here: https://github.com/SharePoint/sp-dev-docs/issues/8957#issuecomment-1573885078) because I need to support a TeamsTab from the same component.

Any help is appreciated. Thanks!

pheidler commented 4 days ago

Any update on this? Thanks.